summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug76463.phpt
blob: 0fa9be990cb687608b2a5dade8f09d668ee67e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #76463 (var has array key type but not value type)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php

function test() {
	$old_data = isset($old_data) ? (array)$old_data : [];
}

?>
okey
--EXPECT--
okey