3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $msg = 'This is the test message for echo'; @err(); echo $msg; // This line does not appear... function err() { trigger_error('Error message', E_USER_ERROR); // Script stopped after this line... }
based on QumMm
Output for 4.3.2 - 5.6.38, hhvm-3.10.1, 7.0.0 - 7.2.11

Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: Error message in /in/fjjkk:-1 Stack trace: #0 /in/fjjkk(-1): trigger_error() #1 /in/fjjkk(-1): err() #2 {main}
Process exited with code 255.
Output for hhvm-3.19.2 - 3.21.3
Fatal error: Uncaught Error: Error message in /in/fjjkk:12 Stack trace: #0 /in/fjjkk(12): trigger_error() #1 /in/fjjkk(5): err() #2 {main}
Process exited with code 255.
Output for hhvm-3.11.1 - 3.18.5
Fatal error: Uncaught Error: Error message in /in/fjjkk:12 Stack trace: #0 /in/fjjkk(5): err() #1 {main}
Process exited with code 255.
Output for 4.3.0 - 4.3.1