Re: [PHP-LANG] OO-problem

[email protected] (Andi Gutmans)
Newsgroups php.lang
Message-ID <[email protected]>
At 09:33 AM 4/20/2001 -0500, Andrei Zmievski wrote:
>On Wed, 18 Apr 2001, Zeev Suraski wrote:
> > You can't have multiple definitions for the same method.  However, you can
> > easily implement this functionality in a number of different ways:
> >
> > - Using default argument values (e.g., function b($var=unset) { ... };  If
> > $var is unset, behave as if there were no arguments sent).
>
>=unset syntax should have been gone a while ago. Andi? using $var=null
>works just as well.

Yes, you are right. I thought we nuked it.
The question is when do we make this change? It might not be a good time 
during 4.0.x.

Andi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.