Skip to content

Commit 2f01f60

Browse files
committed
Remove child userland call due to differences in behavior when jit is enabled.
1 parent 2578807 commit 2f01f60

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/zend_test/tests/observer_bug81430_1.phpt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ zend_test.observer.observe_all=1
77
--FILE--
88
<?php
99

10-
function another_userland() {
11-
return 2 * 2;
12-
}
13-
1410
#[\Attribute]
1511
class A {
1612
private $a;
1713
public function __construct() {
18-
$this->a = another_userland();
1914
}
2015
}
2116

@@ -30,8 +25,5 @@ call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);
3025
<file '%s'>
3126
<!-- init A::__construct() -->
3227
<A::__construct>
33-
<!-- init another_userland() -->
34-
<another_userland>
35-
</another_userland>
3628
</A::__construct>
3729
</file '%s'>

0 commit comments

Comments
 (0)