php-src/Zend/tests/bug27731.phpt
2004-04-01 22:05:35 +00:00

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)