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 8--SKIPIF-- 9<?php require_once('skipif.inc'); ?> 10--FILE-- 11<?php 12function esc(int $x) { 13 $a[0] = $x; 14 $b[0] = $a; 15 return $a; 16} 17--EXPECTF-- 18$_main: ; (lines=1, args=0, vars=0, tmps=0) 19 ; (after optimizer) 20 ; %sdce_008.php:1-7 21L0 (7): RETURN int(1) 22 23esc: ; (lines=4, args=1, vars=2, tmps=0) 24 ; (after optimizer) 25 ; %sdce_008.php:2-6 26L0 (2): CV0($x) = RECV 1 27L1 (3): ASSIGN_DIM CV1($a) int(0) 28L2 (3): OP_DATA CV0($x) 29L3 (5): RETURN CV1($a) 30