Skip to content

Commit b1bd4e6

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix deprecation warnings in tests
2 parents e7dc0d2 + 817d21e commit b1bd4e6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Zend/tests/gh16293_001.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ GH-16293: Exception in assert() callback with bail enabled
33
--FILE--
44
<?php
55

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');
99
assert(false);
1010

1111
?>

Zend/tests/gh16293_002.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ GH-16293: Exception in assert() callback with bail enabled
33
--FILE--
44
<?php
55

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 () {
99
throw new Exception('Boo');
1010
});
1111
assert(false);

0 commit comments

Comments
 (0)