xref: /PHP-5.6/Zend/tests/error_reporting01.phpt (revision 9ffc8b73)
1--TEST--
2testing @ and error_reporting - 1
3--FILE--
4<?php
5
6error_reporting(E_ALL);
7
8function foo($arg) {
9}
10
11function bar() {
12	throw new Exception("test");
13}
14
15try {
16	@foo(@bar());
17} catch (Exception $e) {
18}
19
20var_dump(error_reporting());
21
22echo "Done\n";
23?>
24--EXPECT--
25int(32767)
26Done
27