Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 75f041b

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

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
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: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,44 @@ zend_test
55
--INI--
66
zend_test.observer.enabled=1
77
zend_test.observer.show_init_backtrace=1
8+
zend_test.observer.show_output=1
9+
zend_test.observer.observe_all=1
10+
zend_test.observer.show_opcode=0
11+
opcache.jit=0
812
--FILE--
913
<?php
1014
$fiber = new Fiber(function() {});
1115
$fiber->start();
1216
echo "Test completed without crash\n";
1317
?>
1418
--EXPECTF--
15-
<!-- init '%s' -->
19+
<!-- init %s -->
1620
<!--
1721
{main} %s
1822
-->
19-
<!-- init Fiber::__construct() -->
20-
<!--
21-
Fiber::__construct()
22-
{main} %s
23-
-->
24-
<!-- init Fiber::start() -->
25-
<!--
26-
Fiber::start()
27-
{main} %s
28-
-->
29-
<!-- init {closure}() -->
30-
<!--
31-
{closure}()
32-
{main} [no active file]
33-
Fiber::start()
34-
{main} %s
35-
-->
23+
<file %s>
24+
<!-- init Fiber::__construct() -->
25+
<!--
26+
Fiber::__construct()
27+
{main} %s
28+
-->
29+
<Fiber::__construct>
30+
</Fiber::__construct>
31+
<!-- init Fiber::start() -->
32+
<!--
33+
Fiber::start()
34+
{main} %s
35+
-->
36+
<Fiber::start>
37+
<!-- init {closure}() -->
38+
<!--
39+
{closure}()
40+
{main} [no active file]
41+
Fiber::start()
42+
{main} %s
43+
-->
44+
<{closure}>
45+
</{closure}>
46+
</Fiber::start>
3647
Test completed without crash
48+
</file %s>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /