xref: /PHP-5.4/Zend/tests/bug27731.phpt (revision 962c8cc9)
1--TEST--
2Bug #27731 (error_reporing() call inside @ block does not work correctly)
3--FILE--
4<?php
5	error_reporting(E_ALL ^ E_NOTICE);
6	@error_reporting(E_WARNING);
7	var_dump(error_reporting());
8?>
9--EXPECT--
10int(2)
11