mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
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');
|