|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-28 12:34 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 18:00:02 2025 UTC |
Description: ------------ "Called from the global scope" error now appears in situations where it did not previously. for example: <?php function foo() { include "macro_to_process_arguments.php"; } ?> <?php // macro_to_process_arguments.php $args = func_get_args(); ?> Now triggers an error. Reproduce code: --------------- Called from the global scope Expected result: ---------------- Not to get the above error message.