3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function handler1() { echo "\n######### " . __FUNCTION__ . "() called #########\n"; } function handler2() { echo "\n######### " . __FUNCTION__ . "() called #########\n"; print_r(error_get_last()); new bar(); } register_shutdown_function('handler1'); register_shutdown_function('handler2'); new foo();