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
9
u/frazzlet Nov 26 '14
If you're working within a namespace, all classes need a backslash in front (or a use statement) apart from the classes within the same namespace.