diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-02 17:47:33 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-06 12:46:24 +0100 |
commit | 3c68f38fdaec7a6f81f986a639bdd29716cf8f22 (patch) | |
tree | 5d1d8831cb016ba74d6ac6c6dc90419e536c48b6 /sapi | |
parent | 73f989a83b8338cd8348134b6df8dded27fae300 (diff) | |
download | php-git-3c68f38fdaec7a6f81f986a639bdd29716cf8f22.tar.gz |
Restrict allowed usages of $GLOBALS
This restricts allowed usage of $GLOBALS, with the effect that
plain PHP arrays can no longer contain INDIRECT elements.
RFC: https://wiki.php.net/rfc/restrict_globals_usage
Closes GH-6487.
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/phpdbg/tests/info_001.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/phpdbg/tests/info_001.phpt b/sapi/phpdbg/tests/info_001.phpt index 2807855709..56b78436b5 100644 --- a/sapi/phpdbg/tests/info_001.phpt +++ b/sapi/phpdbg/tests/info_001.phpt @@ -34,7 +34,7 @@ prompt> [Variables in foo() (1)] Address Refs Type Variable %s %d string $baz string (4) "test" -prompt> [Superglobal variables (8)] +prompt> [Superglobal variables (7)] Address Refs Type Variable %s 2 array $_GET %s 2 array $_POST @@ -43,7 +43,6 @@ Address Refs Type Variable %s 2 array $_ENV %s 1 array $_REQUEST %s 2 array $_FILES -%s 1 array &$GLOBALS prompt> ------------------------------------------------ Function Breakpoints: #0 foo |