note 115498 deleted from language.namespaces by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 10 Aug 2014 10:07:13 +0000 |
| Subject: | note 115498 deleted from language.namespaces by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200161@lists.php.net to get a copy of this message | ||
Note Submitter: White Gandalf
----
Something that makes your work very difficult using namespaces:
Namespaces make the interpreter throwing in the towel (letting the webserver respond with "500
internal server error" without letting php make an entry into the php error log or the returned
page) instead of giving an error message on many (yet not all) occasions.
You will have to manually trace back your typing errors each one after the other by successively
commenting out and in your code like there were no error message facility at all in the engine!
You may circumvent this issue by dropping the namespaces completely during development and using
them solely to finish modules before combining them.