3v4l.org

run code in 300+ PHP versions simultaneously
<?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... }

preferences:
37.56 ms | 402 KiB | 5 Q