3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php set_error_handler("err"); function err($no, $str, $line, $file, $ctx) { var_dump($str, $ctx); } function from() { trigger_error("test", E_USER_NOTICE); } from();
Output for 4.3.0 - 7.1.0
string(4) "test" array(0) { }