On Wed, 5 Sep 2001 [EMAIL PROTECTED] wrote:
> > > On Wed, 05 Sep 2001, Sterling Hughes wrote:
> > > > sterling Wed Sep 5 16:52:45 2001 EDT
> > > >
> > > > Modified files:
> > > > /php4/ext/standard rand.c
> > > > Log:
> > > > a bit of api cleanup... move range stuff into a macro (properly :)
> > >
> > > I have to ask once again. Why not use zend_parse_parameters() while you
> > > are cleaning up API anyway?
> > >
> > I dunno, I'm not used to it, brain no like new information!!!!!
> > Isn't more of an extension thing though? I'm not sure, but I
> > remember Zeev saying that it was slower, so should it be used in the
> > core set of functions? If it is, I'll start use
> > zend_parse_parameters() in future cleanups though...
> It is slower in the case of functions that don't take any arguments. For
> ones that do take arguments I don't see a performance issue. And the
> error message it produces is more informative.
Ok, I'm sold... I understand the basics of the format and the
function, but is the following possible?::
In the situation of rand() when its that are two arguments are
mandatory, or no arguments are mandatory?
rand() is valid and rand(1, 100) is valid, but rand(32) is not
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]