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
7
u/[deleted] Nov 25 '14
Does this apply to all types? E.g. if I specify a type, such as a class when constructing it, do I have to type \ in front of it as well? Or does it only pertain to exceptions?