|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-15 15:48 UTC] vrana@php.net
[2009-07-28 12:35 UTC] svn@php.net
[2009-07-28 12:36 UTC] svn@php.net
[2009-07-28 12:37 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 16:00:01 2025 UTC |
Description: ------------ The namespace clause causes the PHP behaves more strictly (unexpected behavior according to the documentation - with regard to the namespaces or function extract). Reproduce code: --------------- <?php // namespace A; function test() { extract(func_get_arg(0)); } test(array('x' => 1)); Expected result: ---------------- --none-- Actual result: -------------- When row "namespace A" is commented: --none-- When row "namespace A" is uncommented: Strict Standards: Only variables should be passed by reference in ...