3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function() { echo 'one'; }); set_error_handler(function() { echo 'two'; restore_error_handler(); }); trigger_error('', E_USER_NOTICE); trigger_error('', E_USER_NOTICE);

preferences:
36.2 ms | 402 KiB | 5 Q