File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ GH-16293: Exception in assert() callback with bail enabled
3
3
--FILE--
4
4
<?php
5
5
6
- assert_options (ASSERT_EXCEPTION , 0 );
7
- assert_options (ASSERT_BAIL , 1 );
8
- assert_options (ASSERT_CALLBACK , 'f1 ' );
6
+ @ assert_options (ASSERT_EXCEPTION , 0 );
7
+ @ assert_options (ASSERT_BAIL , 1 );
8
+ @ assert_options (ASSERT_CALLBACK , 'f1 ' );
9
9
assert (false );
10
10
11
11
?>
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ GH-16293: Exception in assert() callback with bail enabled
3
3
--FILE--
4
4
<?php
5
5
6
- assert_options (ASSERT_EXCEPTION , 0 );
7
- assert_options (ASSERT_BAIL , 1 );
8
- assert_options (ASSERT_CALLBACK , function () {
6
+ @ assert_options (ASSERT_EXCEPTION , 0 );
7
+ @ assert_options (ASSERT_BAIL , 1 );
8
+ @ assert_options (ASSERT_CALLBACK , function () {
9
9
throw new Exception ('Boo ' );
10
10
});
11
11
assert (false );
You can’t perform that action at this time.
0 commit comments