xref: /php-src/ext/opcache/tests/jit/gh15658.phpt (revision bcd1f23b)
1--TEST--
2GH-15658 (Segmentation fault in Zend/zend_vm_execute.h)
3--EXTENSIONS--
4opcache
5--INI--
6opcache.jit=0101
7opcache.jit_buffer_size=64M
8--FILE--
9<?php
10echo match (random_int(1, 2)) {
11    1, 2 => 'foo',
12};
13?>
14--EXPECT--
15foo
16