mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
1b45efb6fb
This fixes oss-fuzz #47920
19 lines
313 B
PHP
19 lines
313 B
PHP
--TEST--
|
|
Type inference 010: FRTCH_DIM_W
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
$x = false;
|
|
$x[] = &$y;
|
|
}
|
|
foo();
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
Deprecated: Automatic conversion of false to array is deprecated in %sinference_010.php on line 4
|
|
DONE
|