3v4l.org

run code in 300+ PHP versions simultaneously
<?php define ( "THE_CONST" , 3 ) ; function b ( $a = array ( E_ALL => THE_CONST ) ) { print_r ( new ArrayIterator !=b () , c ) ; foreach ( bar as $$d ) $e = days * 4 * 0 ; } b () ;
based on IrYCq

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch master
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /in/6NMKP on line 4
Process exited with code 255.

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