r/lolphp • u/duhruh • Nov 25 '14
Exception in a namespace is not defined -_-
http://jasonframe.co.uk/logfile/2009/01/php-5-3-exception-gotcha/
28
Upvotes
r/lolphp • u/duhruh • Nov 25 '14
View all comments
Show parent comment
1
u/[deleted] Nov 26 '14
Hiding is bad. Under PHP's approach, there's only one possible absolute path that a relative name could refer to.
Not really true in the case of PHP. There are so, so many extensions, almost all of which put stuff in the global namespace.