Yes, I noticed that PHP5 call the old way constructor, but what if in future 
version they drop this feature ?
I think this is workaround for the problem . Or not ?

On Tuesday January 31 2006 15:52, David Grant wrote:
> Georgi,
>
> Drop __construct, PHP5 will call Test() anyway.
>
> >From http://uk.php.net/manual/en/language.oop5.decon.php:
>
> "For backwards compatibility, if PHP 5 cannot find a __construct()
> function for a given class, it will search for the old-style constructor
> function, by the name of the class."
>
> David
> --
> David Grant
> http://www.grant.org.uk/
>
> http://pear.php.net/package/File_Ogg    0.2.1
> http://pear.php.net/package/File_XSPF   0.1.0
>
> WANTED: Junior PHP Developer in Bristol, UK

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to