Re: Fw: [PHP-DOC] cfunction?

From: Date: Thu, 26 Apr 2001 21:02:25 +0000
Subject: Re: Fw: [PHP-DOC] cfunction?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-52537@lists.php.net to get a copy of this message
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

« previous php.dev (#52537) next »