News for hackers. Stuff that matters.
Re:An Exceptional Change in PHP 7.0 by lucio on Monday October 05, 2015 @07:27PM (#10335725)
if you do not include the namespace separator, and you import a namespace with the same name defined, you'll have a not-so-pleasant surprise. e.g.:you use "Exception" to catch all exceptions, and someone defines "SQL\Exception", then you import "SQL", and now all your catch blocks stop working. But don't worry. This is business as usual in the PHP world.

There are no comments on this comment yet.