mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

A user-defined error handler should not be invoked for preload warnings. We are in a partially shut-down state at that point.
8 lines
148 B
PHP
8 lines
148 B
PHP
<?php
|
|
|
|
set_error_handler(function($_, $m) {
|
|
static $x;
|
|
var_dump($m);
|
|
});
|
|
|
|
opcache_compile_file(__DIR__ . '/preload_error_handler_ind.inc');
|