3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tree = array(array('id' => 1, 'children' => array(array('id' => 2, 'children' => array('id' => 4, 'children' => false)), array('id' => 3, 'children' => false)))); print_r($tree)
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/WDuK1 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/WDuK1 on line 3
Process exited with code 255.