xref: /PHP-8.2/ext/opcache/tests/jit/gh16393.phpt (revision bf786d0d)
1--TEST--
2GH-16393 (Assertion failure in ext/opcache/jit/zend_jit.c:2897)
3--EXTENSIONS--
4opcache
5--INI--
6opcache.jit=1215
7opcache.jit_buffer_size=64M
8--FILE--
9<?php
10ini_set('opcache.jit', 'tracing');
11class Test {
12}
13$appendProp2 = (function() {
14})->bindTo($test, Test::class);
15$appendProp2();
16?>
17--EXPECTF--
18Warning: Undefined variable $test in %sgh16393.php on line 6
19