Skip test for preloading

This commit is contained in:
Dmitry Stogov 2022-03-14 13:03:21 +03:00
parent 156d3aedc1
commit 33eec37830

View file

@ -1,5 +1,9 @@
--TEST-- --TEST--
Error recording in error handler Error recording in error handler
--SKIPIF--
<?php
if (getenv('SKIP_PRELOAD')) die('skip Error handler not active during preloading');
?>
--FILE-- --FILE--
<?php <?php
set_error_handler(function($code, $msg) { set_error_handler(function($code, $msg) {