mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
11 lines
215 B
PHP
11 lines
215 B
PHP
--TEST--
|
|
Bug #27731 (error_reporing() call inside @ block does not work correctly)
|
|
--FILE--
|
|
<?php
|
|
error_reporting(E_ALL ^ E_NOTICE);
|
|
@error_reporting(E_WARNING);
|
|
var_dump(error_reporting());
|
|
?>
|
|
--EXPECT--
|
|
int(2)
|