mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
d1e956ff31
A user-defined error handler should not be invoked for preload warnings. We are in a partially shut-down state at that point.
9 lines
148 B
PHP
9 lines
148 B
PHP
<?php
|
|
|
|
set_error_handler(function($_, $m) {
|
|
static $x;
|
|
var_dump($m);
|
|
});
|
|
|
|
opcache_compile_file(__DIR__ . '/preload_error_handler_ind.inc');
|