1--TEST-- 2GH-15973 (Segmentation fault in JIT mode 1135) 3--EXTENSIONS-- 4opcache 5--INI-- 6opcache.jit=1215 7opcache.jit_buffer_size=64M 8--FILE-- 9<?php 10class Test { 11} 12$appendProp2 = (function() { 13$this->prop[] = 1; 14})->bindTo($test, Test::class); 15$appendProp2(); 16?> 17--EXPECTF-- 18Warning: Undefined variable $test in %sgh15973.php on line 6 19 20Fatal error: Uncaught Error: Using $this when not in object context in %sgh15973.php:5 21Stack trace: 22#0 %sgh15973.php(7): Test::{closure:%s}() 23#1 {main} 24 thrown in %sgh15973.php on line 5 25