3v4l.org

run code in 150+ 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_WARNING); // Script stopped after this line... }
based on GCd7p
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
This is the test message for echo