mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
4fe07d474c
This guard against the issue that GH-6904 would introduce when run under --repeat 2 mode.
15 lines
300 B
PHP
15 lines
300 B
PHP
--TEST--
|
|
Test error_reporting being restored after fatal error during silencing
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump($undef_var);
|
|
@eval('class self {}');
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Undefined variable $undef_var in %s on line %d
|
|
NULL
|
|
|
|
Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|