3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $days = array('2'); function alter_days($day) { echo 'bla'; } array_walk($days, 'alter_days') var_dump($days);
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/I0XGS on line 13
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/I0XGS on line 13
Process exited with code 255.