summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug76463.phpt
blob: e3dacb691c196e1cb2e403f324b347a9a0863027 (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