dis-bench / src /php /php-src /ext /opcache /tests /opt /inference_004.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
286 Bytes
--TEST--
Type inference 004: Type narrowing warning during type inference of ZEND_FETCH_DIM_W
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--FILE--
<?php
function y() {
for(;;){
$arr[]->y = c;
$arr = c;
}
}
?>
DONE
--EXPECT--
DONE