summaryrefslogtreecommitdiff
path: root/Zend/tests/bug27731.phpt
blob: 408e4242ad5eb7cb2cd7288e2eb68e313be5ae20 (plain)
1
2
3
4
5
6
7
8
9
10
--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)