|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-09-24 17:12 UTC] jhdxr@php.net
-Status: Open
+Status: Not a bug
[2017-09-24 17:12 UTC] jhdxr@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 01:00:01 2025 UTC |
Description: ------------ This is disallowed: "called from the global scope" but should be allowed. the data is kind-of available anyway in debug_backtrace(). Test script: --------------- file1.php: <?php function bar($a, $b, $c){ require("file2.php"); } bar(1,2,3); file2.php: <?php assert(func_get_args() === [1,2,3]);