xref: /php-src/ext/opcache/tests/jit/gh15490.phpt (revision b839c5f1)
1--TEST--
2GH-15490: use-after-free when traversing call graph
3--EXTENSIONS--
4opcache
5--INI--
6opcache.enable=1
7opcache.enable_cli=1
8opcache.file_update_protection=0
9opcache.preload={PWD}/gh15490.inc
10opcache.jit=1235
11--SKIPIF--
12<?php
13if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
14?>
15--FILE--
16<?php
17foo();
18?>
19--EXPECT--
20Hello world!
21