mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
15 lines
302 B
PHP
15 lines
302 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 a class name as it is reserved in %s on line %d
|