3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[] = 1; $a[] = 2; $a[] = 3; unset($a[2)); var_dump($a);
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.16
Parse error: syntax error, unexpected ')', expecting ']' in /in/OK6AH on line 6
Process exited with code 255.