ID: 48569 Updated by: dmi...@php.net Reported By: ken at smallboxsoftware dot net -Status: Assigned +Status: Wont fix Bug Type: Scripting Engine problem Operating System: RHEL 5.3 PHP Version: 5.3.0RC3 Assigned To: dmitry
Previous Comments: ------------------------------------------------------------------------ [2009-07-28 12:34:32] dmi...@php.net It's not going to be fixed. It worked before not on purpose, but because of wired func_get_args() implementation. ------------------------------------------------------------------------ [2009-06-16 17:29:44] ken at smallboxsoftware dot net 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48569&edit=1