1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
2024-01-15 09:39:13 +01:00

21 lines
326 B
PHP

--TEST--
Register Alloction 005: Incorrect double/long register hinting
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
--FILE--
<?php
function test() {
$j = 0;
for ($i = 1; $i < 10; $i++) {
$i = 0.0;
$j++;
if ($j > 10) break;
}
}
test();
?>
DONE
--EXPECT--
DONE