3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php  $color = array(4 => 'white', 6 => 'green', 11=> 'red');  echo reset($color);  ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '$color ' (T_VARIABLE) in /in/Wdqot on line 1
Process exited with code 255.