At 12:51 PM 4/26/2001 -0700, Rasmus Lerdorf wrote:
> > At 09:41 PM 4/26/2001 +0200, Hojtsy Gabor wrote:
> > > > > This is a question for the php-dev people too.
> > > > > What are the other hidden features not documented
> > > > > like this?
> > > >
> > > > Check the code. This is simply a legacy feature there only for
> backward
> > > > compatibility and should not be documented as we don't want people
> writing
> > > > new scripts that use cfunction.
> > >
> > >Then why it is used in some scripts in the test dir
> > >in the distribution?
> >
> > It shouldn't be. I'll fix those.
>
>Leave one, at least. We want to know if this breaks. At some point we
>will want to remove the feature from php, and then we can remove the test
>case. But let's not remove testcases without removing the feature. The
>test scripts are not meant as examples for users.
It won't break and if it does, all the better :)
As you see people do take example from the test cases if they are meant to
be testcases or not.
I think for 4.1 we should nuke cfunction and possible also old_function.
Don't forget that cfunction had a very very short live-time in the beta's
of PHP 3. We made the function<->old_function switch pretty early.
Andi
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]