1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Files
archived-php-src/ext/opcache/tests/opt/inference_014.phpt
T
Dmitry Stogov d50875c822 Fix type inference
Fixes oss-fuzz #49423 and #49474
2022-07-25 15:53:06 +03:00

20 lines
252 B
PHP

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