2 Bug #63206 Fully support error_handler stacking, even with null
6 set_error_handler(function() {
7 echo 'First handler' . PHP_EOL;
10 set_error_handler(function() {
11 echo 'Second handler' . PHP_EOL;
14 set_error_handler(null);
16 set_error_handler(function() {
17 echo 'Fourth handler' . PHP_EOL;
20 restore_error_handler();
21 restore_error_handler();