|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchespatch.txt (last revision 2011-10-11 09:04 UTC by [email protected])Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-11 09:04 UTC] [email protected]
[2011-10-11 09:21 UTC] [email protected]
-Assigned To:
+Assigned To: dmitry
[2011-10-16 11:08 UTC] [email protected]
[2014-07-15 11:12 UTC] [email protected]
-PHP Version: 5.4.0beta1
+PHP Version: *
[2014-07-15 11:12 UTC] [email protected]
[2015-04-06 20:10 UTC] [email protected]
[2015-04-06 20:10 UTC] [email protected]
-Status: Assigned
+Status: Closed
[2016-03-18 08:46 UTC] david dot macek dot 0 at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 31 04:00:01 2025 UTC |
Description: ------------ The "The use statement with non-compound name '%s' has no effect" warning is only thrown when the use statement doesn't have a leading backslash. It should be thrown in both cases as they are semantically equivalent. (Patch is trivial: Get rid of the is_global arg altogether.) Test script: --------------- <?php namespace { use Exception; } namespace { use \Exception; } // http://codepad.viper-7.com/vN34cx Expected result: ---------------- Two warnings. Actual result: -------------- One warning.