xref: /PHP-8.4/Zend/tests/error_reporting01.phpt (revision d313ad60)
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(30719)
26Done
27