xref: /php-src/ext/opcache/tests/jit/bug81256.phpt (revision c16ad918)
1--TEST--
2Bug #81256: Assertion `zv != ((void *)0)' failed for "preload" with JIT
3--EXTENSIONS--
4opcache
5--SKIPIF--
6<?php
7if (PHP_OS_FAMILY === "Windows") die("skip Windows does not support preloading");
8?>
9--INI--
10opcache.enable=1
11opcache.enable_cli=1
12opcache.jit=function
13opcache.preload={PWD}/preload_bug81256.inc
14--FILE--
15<?php
16foo();
17?>
18--EXPECT--
19Hello
20