|
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 nikic@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-11 09:04 UTC] nikic@php.net
[2011-10-11 09:21 UTC] nikic@php.net
-Assigned To:
+Assigned To: dmitry
[2011-10-16 11:08 UTC] nikic@php.net
[2014-07-15 11:12 UTC] yohgaki@php.net
-PHP Version: 5.4.0beta1
+PHP Version: *
[2014-07-15 11:12 UTC] yohgaki@php.net
[2015-04-06 20:10 UTC] nikic@php.net
[2015-04-06 20:10 UTC] nikic@php.net
-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: Fri Oct 24 07: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.