3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php switch ($get_array[0]) { case 'images': $page = $get_array[0]; if(isset($get_array[1])){ if ($get_array[1] != 'success') { $errors = $get_array[1]; } else{ $success = $get_array[1]; } } break; ?>
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/dCWdJ on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/dCWdJ on line 14
Process exited with code 255.