3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newadd = Array( '0' => 'deutsch', ); $poddata = Array( '0' => 'englisch', '1' => 'italienisch', '2' => 'russisch' ); $poddata[] = 'deutsch'; print_r($poddata); echo '----'; $cart = array(); $cart[] = 13; $cart[] = "foo"; $cart[] = obj; print_r($cart); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => englisch [1] => italienisch [2] => russisch [3] => deutsch ) ---- Fatal error: Uncaught Error: Undefined constant "obj" in /in/0qlpb:35 Stack trace: #0 {main} thrown in /in/0qlpb on line 35
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:
58.33 ms | 401 KiB | 8 Q