Hi!

> It has been brought to my attention that my consistent use of \ prefixing
> of global functions is an eyesore, but I've got a simple little PoC that
> shows why I do it, and now I'm wondering if the behavior I'm working around
> should qualify as a PHP bug?

No, it's not a bug, it is a feature. You can override function in a
namespace. It's still not a reason to mark every function you are not
overriding with \. Unless, of course, you are importing foreign (as, not
controlled by you) code into your namespace, in which case I think
that's where the problem lies.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to