mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
ea297654f4
* Zend/*: fix a bunch of typos * Zend/tests/try/try_catch_finally_005.phpt: update string length
11 lines
225 B
PHP
11 lines
225 B
PHP
--TEST--
|
|
Bug #27731 (error_reporting() 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)
|