mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
17 lines
208 B
PHP
17 lines
208 B
PHP
--TEST--
|
|
$GLOBALS resize
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
for ($i = 0; $i < 100; $i++) {
|
|
$GLOBALS["A". $i] = 1; //trigger resize
|
|
}
|
|
return "ops";
|
|
}
|
|
|
|
$GLOBALS[foo()] = "ops";
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|