3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array ( 0 => 0, 1 =>, 2 => 3, 3 => ); foreach ($arr as $key=>$val) { if ($val == null) unset($arr[$key]); } $new_arr = array_values($arr); print_r($new_arr );
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ',' in /in/etS2A on line 4
Process exited with code 255.