Now __autoload have only one argument which is a name of searched class.
Second argument could be a namespace where class is searched. It should have
default value for backward compatibility.
What for? It always receives full name of the class, whatever it is.
I think it is the most flexible s
On Dec 22, 2007 3:43 PM, Wojciech Malota <[EMAIL PROTECTED]> wrote:
> I have a proposal for prototype of __autoload function in PHP 5.3.0.
> In this version of PHP namespaces will be available.
> Prototype of __autoload could look like this:
>
> __autoload($classname, $namespace = null);
>
> Now __
I have a proposal for prototype of __autoload function in PHP 5.3.0.
In this version of PHP namespaces will be available.
Prototype of __autoload could look like this:
__autoload($classname, $namespace = null);
Now __autoload have only one argument which is a name of searched class.
Second argume
I have a proposal for prototype of __autoload function in PHP 5.3.0.
In this version of PHP namespaces will be available.
Prototype of __autoload could look like this:
__autoload($classname, $namespace = null);
Now __autoload have only one argument which is a name of searched class.
Second argume