Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
October 9, 2013
Chris
Local Development, PHP
Comments Off on Is there a JSFiddle for PHP ? Yes !

Is there a JSFiddle for PHP ? Yes !

PreviousNext

It’s awesome how UNknown these little and extremely powerful tools are: There are some online tools that let you paste in (or write) PHP code and run it, exactly like JSFiddle (and similar) do. Perfect for testing out small scripts when not having access to real development environment. However, some things will not work (like access to the shell or long-running scripts), but in general you are getting a full PHP interpreter here.

 

The quick & useful ones:
viper-7.com,
ideone.com,
sandbox.onlinephpfunctions.com

viper-7 is my choice! Always up to date, and let’s you choose the PHP version (5.2.x, 5.3.x, 5.4.x, 5.5.x and even the latest trunk !). Excellent! IDEone and onlinephpfunctions provide similar possibilities, but don’t have the latest PHP versions available.

 

The big & bloated, but extremely powerful one: phpfiddle.org

Let’s you load libraries, drivers, dependencies, run SQL statements, has GitHub/Gist integration, let’s you save everything in your dropbox, run PSR sniffers (and others) over your code and much much more… This is a beast.

 

The bad ones (do not use!):
phpresult.com & codepad.org

This is usually the answer when people ask for “online php” or “jsfiddle for php”. And codepad.org is just one thing: old ! The PHP version is extremely outdated (PHP 5.2), there are no useful features and in general everything is public, you can even sit there and watch the incoming stream of code people paste in. Well, it had its time, but trying out code in PHP 5.2 makes absolutely no sense, so please dismiss this tool. phpresult.com looks good at first, but is not even able to put out the used php version in any way. Beside that, everything around the project looks like spam. So, it’s also not a useful choice.

 

jsfiddleonline phpPHPtestingtry out
Share this
phpstorm-8

PHPStorm 8 (early access version) released – for free

JetBrains have just released an Early Access version of the upcoming PHPStorm 8. In case you never worked with PHPStorm

php

Redesigning the PHP logo – who wants ?

The current PHP logo is a really lovely one, it is highly accepted and has its own charme, transports a

offf-2014

Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014

Designers and frontend guys, this is for you: If you live or simply are in western Europe in May 2014,

laracon-2014-eu-amsterdam

Laracon 2013 – Kapil Verma: Engineering Complex Applications with Laravel 4 (40min video)

More videos of 2013’s and 2014’s Laracon events from US and EU on their Youtube channel.

Migrating Wikipedia to HHVM (@Scale Conference 2014)

Awesome topic, superfresh, directly from Scale Conference 2014. The title says everthing. Full quote from video’s description: As a top

composer

Composer problems ? Try full reset !

Some small Composer commands that might solve your problems: I’ve taken them directly from Jordi Boggiano‘s (Composer co-creator) “In Depth

html6

Is this the first HTML6 specification?

  I just found this very interesting “project” including an active, but unpopular GitHub repo: http://html6spec.com/ https://github.com/OscarGodson/HTML6 Looks like these

GitHub finally introduces repo traffic stats

It has been a veeeery long time, but finally GitHub has introduced private traffic stats for all projects. To open

hack-php

The first micro framework written in Hack is there: hack-mvc !

It has been just a few months ago Hack has been first announced, but some awesome people have already developed

composer

How to install Composer on Windows 7 / 8 or Ubuntu

Installation on Windows 7 / 8 Installing Composer on Windows 7 or 8 is extremely easy: Get the latest version

1/4

Categories

Search

New project: Building a naked PHP skeleton / boilerplate application from scratch
Dangerous Performance Myths in the Web (video talk by Thomas Lohner, PHPUG Latvia)
october cms
October CMS, built on top of Laravel, is beautiful, clever and on the way to be the new #1 CMS
Interesting stats on SONY’s hacked passwords
This picture shows the icon of blindness
How blind people use websites (video with Sina Bahram, blind accessibility researcher)
hiphop php
Vote for “Hack” for HipHop/HHMV support (future style PHP) in PHPStorm 8
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 14.04 LTS
phpstorm-8
A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)
php
Why Modern PHP is Awesome And How You Can Use It Today (Slides by Matt Stauffer)
harper reed about big data
Harper Reed – The magic and mystery of Big Data (30min video from Webstock’15)
Serious hard-to-fix bug in OAuth and OpenID discovered, lots of major sites affected
sass laravel
Extremely easy SASS in Laravel (with pure PHP)
php
PHP.net hacked, but most things are fine again
css4
Angelina Fabbro talks about “CSS4” in this excellent conference video
This is an experimental advertisement

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy