xref: /php-src/ext/opcache/tests/jit/gh15666.phpt (revision 86ef8d54)
1--TEST--
2GH-15661 (Access null pointer in Zend/Optimizer/zend_inference.c)
3--EXTENSIONS--
4opcache
5--INI--
6opcache.jit=1201
7opcache.jit_buffer_size=64M
8--FILE--
9<?php
10
11function test() {
12    require 'dummy.inc';
13    global $foo, $bar;
14    $foo |= $bar;
15}
16
17echo "Done\n";
18
19?>
20--EXPECT--
21Done
22