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

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

This picture shows the icon of blindness

How blind people use websites (video with Sina Bahram, blind accessibility researcher)

162 million people worldwide are blind or visually impaired at a level that does not allow to read texts. An

hiphop php

Vote for “Hack” for HipHop/HHMV support (future style PHP) in PHPStorm 8

“Hack” will come. And “Hack” will change PHP, definitly. In case you never heard of it, have a look into

shadow dom

A quick video introduction into Shadow-DOM, the game-changing DOM-subtree-technology

Awesome talk by Eric Bidelman (of the Chrome team): Shadow-DOM was often heard in 2013 and seem to exist for

phpstorm-8

PHPStorm 8 has just been released

The excellent PHP IDE PHPStorm just had a major release these days: Version 8 is out, coming with latest PHP

dev coding cards deck

Nice gifts for devs: Nerdy playing-cards decks

Wonderful idea: Playing cards decks for developers. No, not scrum-cards, more the classic stuff. Code:deck $10 plus $5 for shipping

php

PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!

What an announcement! The awesome PHP core guys have refactored the Zend Engine (which drives PHP) and could successfully speed

angularjs

Two excellent introductions into AngularJS by Todd Motto

If you are familiar with PHP frameworks and have a basic understanding of what a model, a controller and a

DigitalOcean coupon voucher 50

Only today: $50 coupon for DigitalOcean SSD VPS / hosting

Wow! The supernice SSD-cloud-server-provider DigitalOcean adds $50 (!) to new customers accounts ONLY TODAY (US-time-zones, so calculate if this is

nginx php 5.5

[Link] Set up Nginx with PHP 5.5 easily

As there are surprisingly no good tutorials on how to set up NGINX with PHP 5.5 properly, here’s an excellent

1/4

Categories

Search

vagrant
Generate Vagrant boxes with Laravel, HipHop, Nginx, WordPress, MySQL, MariaDB, MongoDB, RabbitMQ etc. with one click
css3-chrome-font
[Link] Retinafy your Site / Device by Nijiko Yonskai
sass
[german video] Modernizing and minimalizing frontend markup code at AutoScout24
set up a local virtual machine for development with vagrant and puphpet / puppet (and ubuntu, linux, php, apache, mysql)
A super-simple pre-configured Vagrant box with HipHop, Hack and Hack code examples
twig
A 6min video introduction into Twig, the PHP templating engine
Going node.js at Netflix (Slides by Micah R of Netflix)
php uk conference
Slides & talks from PHP UK Conference 2014
Compare 250+ cloud server plans with Cloud Cost Calculator
(Links) How to fix an extremely slow Symfony inside a Vagrant box
hiphop php
HipHop VM reaches 100% green Unit Tests in Laravel, Drupal, Slim, CodeIgniter etc.
the-php-login-project
How to install php-login-minimal on Ubuntu 12.04 LTS
composer
[Link] How to require versions of PHP, HHVM / HipHop, GD, curl, openssl etc. with Composer
DEF CON 18 – When your computer got stolen and you can still SSH into it: “Pwned by the 0wner” (22min conference talk)
Rare Steve Jobs AND Bill Gates video interview from 2007’s D5 conference (90min)
The New Era of JavaScript (28min conference talk, Jack Franklin, 2013)

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