Skip to content

Commit aabc161

Browse files
committed
Fix test for opcache
1 parent e3f4882 commit aabc161

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Zend/tests/gc/gc_051.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ GC 051: Acyclic objects are not added to GC buffer
33
--FILE--
44
<?php
55

6-
function test($x) {}
6+
function test($x) {
7+
assert($x); // Prevent inlining
8+
}
79

810
enum E {
911
case A;

0 commit comments

Comments
 (0)