1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Files
archived-php-src/ext/opcache/tests/opt/inference_013.phpt
T
Dmitry Stogov 82d3ad64df Fix type inference
Fixes oss-fuzz #48908
2022-07-18 14:20:06 +03:00

20 lines
249 B
PHP

--TEST--
Type inference 013: ASSIGN_DIM
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--FILE--
<?php
function y(){
for(;;){
$x[] &= y;
$x = false;
$x[""] = y;
}
}
?>
DONE
--EXPECT--
DONE