Re: XML Syntax question - optional args
| From: | Derick Rethans | Date: | Fri, 10 Sep 2004 07:25:41 +0000 |
| Subject: | Re: XML Syntax question - optional args | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363939@lists.php.net to get a copy of this message | ||
On Fri, 10 Sep 2004, Philip Olson wrote:
> > > PHP is not supposed to have these kind of optional parameters.
> >
> > But it does, so your point is quite mute :)
>
> I agree with Goba, it shouldn't, it's against PHP rules and without
> rules we have chaos! BUT, one other PHP function that follows this
> unfortunate syntax is dba_fetch() so have a look at its docs. Would
> doing it this way work here too? Two different protos.
I think that going with two different protos is the best way to go.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org