|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-10-26 20:51 UTC] hanskrentel at yahoo dot de
-Status: Open
+Status: Closed
-Package: Class/Object related
+Package: Scripting Engine problem
[2012-10-26 20:51 UTC] hanskrentel at yahoo dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ The following file namespace declaration: namespace \Name; Does not give a Parse Error. It's sister declaration: namespace \Name {} does. Test script: --------------- <?php namespace \Name; Expected result: ---------------- Parse Error in Line 2 about an unexpected ; or T_NAMESPACE_SEPARATOR Actual result: -------------- Parser has no problem with the file at all. Problems become only noticeable at runtime then.