<?php set_error_handler(function() { echo 'Error handler executed' . PHP_EOL; return null; }); trigger_error(E_ERROR); echo PHP_EOL; echo PHP_EOL; echo "hello"; echo PHP_EOL; echo 'Now with return false:'; echo PHP_EOL; set_error_handler(function() { echo 'Error handler executed' . PHP_EOL; return false; }); trigger_error(E_ERROR); echo "hello";
You have javascript disabled. You will not be able to edit any code.