>> I already made an suggestion [1], that bypass this.
>
> That suggestion means you can not autoload namespaced function that
> overrides global function. Major WTF. Also leads to two autoload calls (one
> most probably resulting in exhaustive include path search) when autoloading
> a non-namespaced function. Pretty bad idea IMO.

It seems to me that the goal is a Python-esque approach to functions.
A module (or namespace) has a number of functions, classes, etc. Once
that namespace is loaded, everything is then accessible. This is
similar to wrapping a number of functions within a class. The main
difference is that using the namespace would allow functions to be
called without a prefix.

-- 
Herman Radtke
hermanrad...@gmail.com | http://hermanradtke.com

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

Reply via email to