3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $elapsed_time = 324; $errorThrown = "Internal Server Error"; $errors = array( "No user" => "No user, you can ignore this error message", "Request-URI Too Long" => "User was logged out but still submitted 'Get Report', you can ignore this error message", "Internal Server Error" => "Elapsed time of run: ".$elapsed_time."\nIf elapsed time is over 300 seconds then too many results were generated.\nCheck to see if the user didn't enter enough parameters, if so ignore this error message." ); echo $errors[$errorThrown]; echo array_key_exists("No User",$errors); echo array_key_exists("No user",$errors);
based on KqofV
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
Elapsed time of run: 324 If elapsed time is over 300 seconds then too many results were generated. Check to see if the user didn't enter enough parameters, if so ignore this error message.1