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.0.4 - 7.1.0
Notice: Undefined variable: get_array in /in/kMhmP on line 2
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: get_array in /in/kMhmP on line 2