Skip to content

Commit cc8c020

Browse files
skip if jit is enabled
1 parent 4b72343 commit cc8c020

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ PHP NEWS
1414
array). (ilutov)
1515
. Fixed bug GH-19480 (error_log php.ini cannot be unset when open_basedir is
1616
configured). (nielsdos)
17-
. Fixed bug GH-16319 (Prevent crash when displaying fiber backtrace with
18-
a null filename). (alexandre-daubois)
1917

2018
- Date:
2119
. Fixed GH-17159: "P" format for ::createFromFormat swallows string literals.

ext/zend_test/tests/observer_fiber_backtrace_crash.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
GH-16319 (Fiber backtrace with null filename should not crash)
33
--EXTENSIONS--
44
zend_test
5+
--SKIPIF--
6+
<?php
7+
if (extension_loaded('Zend OPcache') && ini_parse_quantity(ini_get('opcache.jit_buffer_size')) > 0) {
8+
die('skip JIT interferes with observer output');
9+
}
10+
?>
511
--INI--
612
zend_test.observer.enabled=1
713
zend_test.observer.show_init_backtrace=1

0 commit comments

Comments
 (0)