1--TEST-- 2DCE 008: Escaping of enclosed arrays doesn't prevent removal of enclosing array 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.optimization_level=-1 7opcache.opt_debug_level=0x20000 8opcache.preload= 9zend_test.observer.enabled=0 10--EXTENSIONS-- 11opcache 12--FILE-- 13<?php 14function esc(int $x) { 15 $a[0] = $x; 16 $b[0] = $a; 17 return $a; 18} 19?> 20--EXPECTF-- 21$_main: 22 ; (lines=1, args=0, vars=0, tmps=0) 23 ; (after optimizer) 24 ; %sdce_008.php:1-8 250000 RETURN int(1) 26 27esc: 28 ; (lines=4, args=1, vars=2, tmps=0) 29 ; (after optimizer) 30 ; %sdce_008.php:2-6 310000 CV0($x) = RECV 1 320001 ASSIGN_DIM CV1($a) int(0) 330002 OP_DATA CV0($x) 340003 RETURN CV1($a) 35