4 ms·
The namespace separator is not required if already in the correct scope. I am not sure why the author decided to include them in the examples.
by Washuu 11y ago
The namespace separator is not required if already in the correct scope. I am not sure why the author decided to include them in the examples.
- kijin 11y agoModern PHP code rarely uses the global namespace, so almost everyone who cares about correct handling of the new exceptions will have to prefix them with a backslash anyway.