summaryrefslogtreecommitdiff
path: root/Zend/tests/globals_005.phpt
blob: 27e26610b2095e5240f87cfe73e929694240c4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--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