mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
22 lines
309 B
PHP
22 lines
309 B
PHP
--TEST--
|
|
Bug #75687 (var 8 (TMP) has array key type but not value type)
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
|
|
function x($y)
|
|
{
|
|
if (is_array($y)) {
|
|
$z = is_array($y) ? array() : array($y);
|
|
}
|
|
}
|
|
?>
|
|
okey
|
|
--EXPECT--
|
|
okey
|