Return to error_reporting01.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST--
2: testing @ and error_reporting - 1
3: --FILE--
4: <?php
5:
6: error_reporting(E_ALL);
7:
8: function foo($arg) {
9: }
10:
11: function bar() {
12: throw new Exception("test");
13: }
14:
15: try {
16: @foo(@bar());
17: } catch (Exception $e) {
18: }
19:
20: var_dump(error_reporting());
21:
22: echo "Done\n";
23: ?>
24: --EXPECT--
1.1.1.2 ! misho 25: int(32767)
1.1 misho 26: Done