1--TEST-- 2Bug #81272: Segfault in var[] after array_slice with JIT 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.jit_buffer_size=16M 7opcache.jit=function 8--FILE-- 9<?php 10 11function test() { 12 $newPages = array_slice([], 0, 0); 13 $newPages[] = null; 14} 15 16test(); 17 18?> 19===DONE=== 20--EXPECT-- 21===DONE=== 22