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
redaktionelle-hochlastseiten

Hochlastseiten mit PHP, MySQL und Apache am Beispiel stern.de (deutscher Artikel)

Eine grandiose Powerpoint-Präsentation die sich jeder, der mit PHP, MySQL und Apache auf Linux arbeitet, mal anschauen sollte: Nils Langner,

How major web companies (and banks) handle passwords quite wrong

There’s a very interesting “movement” in password handling going on for a long time, the basic idea is to encourage

anti block adblock

Show ads to ad-blockering visitors – with PageFair.com

Interesting news on the dramatically decreasing web ad market: There’s a new service called PageFair that does basically exactly what

php

12 tools for better PHP quality

Nice selection of 12 tools every PHP developer should bookmark. I totally love how the PHP community becomes some kind

[Link] Interesting: Designing a Nuclear Waste Warning Symbol That Will Still Make Sense in 10,000 Years

Interesting article for everybody with a faible for UI/UX: Slate – Designing a Nuclear Waste Warning Symbol That Will Still

DEF CON 18 – When your computer got stolen and you can still SSH into it: “Pwned by the 0wner” (22min conference talk)

A fantastic masterpiece of a conference talk: Mac got stolen. Bummer! Two years later: owner SSHs into it (!), installs

(Links) How to fix an extremely slow Symfony inside a Vagrant box

When you work with Vagrant (if not – try it!) on a Windows or Mac machine (which is an excellent

Going node.js at Netflix (Slides by Micah R of Netflix)

It’s awesome how node.js takes over the absolute AAA-level corporate world. Note that node.js is still an early alpha product

PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !

You just installed PHPMyAdmin but http://www.yourdomain.com/phpmyadmin just says “phpmyadmin not found” ? Try to create a link in /var/www like

phpstorm-8

A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)

Shortcuts that will make you life so much easier! Please note: Frontend Devs might be irritated by the weird CTRL-Y-shortcut,

1/4

Categories

Search

How to hack time (KUNG FURY promo campaign)
Beautiful, minimal WordPress theme ZUKI by Elmastudio (with 30% discount)
phpstorm 7.0 php
How to debug code on a remote server (or in vagrant box) with PHPStorm
vagrant
How to setup a local server (in a virtual machine) with Vagrant in PHPStorm
hack-php
Wow! Facebook devs have rewritten and fixed PHP, releasing it as new language called “Hack” today
How to show the available version of a package (before doing apt-get install)
laracon-2014-eu-amsterdam
Laracon 2013 – Jordi Boggiano: In Depth Composer (47min video)
Quick fix for 404 error in WordPress category / tag page
js javascript
JavaScript Testing Tactics (21min video by Justin Searls)
the-php-login-project
How to install php-login-one-file on Ubuntu 12.04 LTS
(Links) How to fix an extremely slow Symfony inside a Vagrant box
php
appserver.io – A New Way of Magento Enterprise Infrastructure (26min video talk)
This is an experimental advertisement
Stressed and unrelaxed while coding ? Try some ultra-deeply-relaxing ASMR audio clips. It will change your life. Seriously.
Material Design – How Google designed Android L (7min video)

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