xref: /php-src/ext/opcache/tests/jit/gh15657.phpt (revision 3665ab01)
1--TEST--
2GH-15657 (Segmentation fault in ext/opcache/jit/ir/dynasm/dasm_x86.h)
3--EXTENSIONS--
4opcache
5--INI--
6opcache.jit_buffer_size=64M
7opcache.jit=1101
8--FILE--
9<?php
10// Triggering the inheritance cache via implementing this interface is important to reproduce the bug
11interface I {}
12
13class A implements I {
14    private $_prop;
15    public $prop {
16        get => $this->_prop;
17    }
18}
19echo "Done\n";
20?>
21--EXPECT--
22Done
23