On Fri, 2003-06-06 at 16:15, Philip Olson wrote:
> On Fri, 6 Jun 2003, Derick Rethans wrote:
> 
> > On Fri, 6 Jun 2003, John Coggeshall wrote:
> > 
> > > On Fri, 2003-06-06 at 15:33, Jani Taskinen wrote:
> > > > 
> > > >     Just document the preferred way to use any function.
> > > >     Like in this case, the correct way is to use all parameters:
> > > >
> > > >     string implode (string glue, array pieces)
> > > 
> > > If the documentation points out more than one syntax, I consider it
> > > confusing to not provide that optional syntax as one of the prototypes.
> > 
> > As Jani said, the *correct* way to use it is with both parameters, 
> > document it as such. This is called 'education', something we do for 
> > *our* users.
> 
> I struggle with an opinion on this as in one light it
> should be properly documented, which would mean the two 
> prototype definitions (to go along with the appropriate
> <note>) but OTOH I'd rather nobody use this unfortunate 
> functionality.
> 
> After some offlist discussions, it appears some others
> also feel this new feature is a bit of a bug, and
> maybe even worth removing in PHP 5.  That said, how
> about we keep revision 1.9 and if removing the
> functionality becomes a real possability (as discussed
> by the php-dev team), then remove the <note> altogether.
> 
> Regards,
> Philip

I fall into this camp as well. Despite the fact that the misfeature
should not be recommended or endorsed (IMHO), our job is to document
what the language is--not document what we wish the language was.


Torben


-- 
 Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
 http://www.thebuttlesschaps.com          http://www.inflatableeye.com
 http://www.hybrid17.com                  http://www.themainonmain.com
 -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----




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

Reply via email to