3v4l.org

run code in 300+ PHP versions simultaneously
<?php class One { var $x = 10; } function go($name, $args) { $x = xmlrpc_encode_request($name,$args); } $o = new One(); print "Start with an object...\n"; var_dump($o); print "Do some stuff...\n"; go('test',array($o)); print "Now we have an array ?!\n"; var_dump($o);
Output for git.master, git.master_jit, rfc.property-hooks
Start with an object... object(One)#1 (1) { ["x"]=> int(10) } Do some stuff... Fatal error: Uncaught Error: Call to undefined function xmlrpc_encode_request() in /in/aSsXr:5 Stack trace: #0 /in/aSsXr(13): go('test', Array) #1 {main} thrown in /in/aSsXr on line 5
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.53 ms | 401 KiB | 8 Q