xref: /PHP-7.1/Zend/tests/globals_005.phpt (revision e375ba87)
1--TEST--
2$GLOBALS resize
3--FILE--
4<?php
5function foo() {
6  for ($i = 0; $i < 100; $i++) {
7     $GLOBALS["A". $i]  = 1; //trigger resize
8  }
9  return "ops";
10}
11
12$GLOBALS[foo()] = "ops";
13?>
14DONE
15--EXPECT--
16DONE
17