Re: [PHP-DOC] rand function definition

2002-03-14 Thread Philip Olson
> > Fixed. Also, anyone have word as to when or if > > rand functions "auto seed" if seeds don't exist? > > After some testing I can safely say they're auto-seeded. I should have read NEWS and not main Changelog. On Oct. 07 in: http://bonsai.php.net/cvslog.cgi?file=/php4/ext/standard/rand.c

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Sander Roobol
On 2002.03.14 08:15 Philip Olson wrote: > > Fixed. Also, anyone have word as to when or if > rand functions "auto seed" if seeds don't exist? After some testing I can safely say they're auto-seeded. Sander

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Hartmut Holzgraefe
Hartmut Holzgraefe wrote: > i have it working in XSLT with markup like this: > > > intrand > > intmin > > > intmax > > > > > note that only the first parameter has the choice attribute set > (not sure if this is already checked i

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Hartmut Holzgraefe
Egon Schmid wrote: > I think, all s aren´t correct rendered after Hartmut´s > conversion to PHP 4. See for example www.php.net/mt_rand the rendering of the blocks in general and the parameter specification in special is perfectly valid please take note that both rand() and mt_rand() have two p

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Hartmut Holzgraefe
Rasmus Lerdorf wrote: > Currently rand shows up as: > > int rand ( void)int rand ( int min, int max) > > at http://www.php.net/manual/en/function.rand.php > > This is extremely ugly. Ca we not do: > > int rand([int min, int max]) > it is 'only' missing a linebreak the problem is that we ri

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Philip Olson
> I think, all s aren´t correct rendered after Hartmut´s > conversion to PHP 4. See for example www.php.net/mt_rand So should this/these be fixed? Will the fix be automated? Regards, Philip

Re: [PHP-DOC] rand function definition

2002-03-14 Thread Egon Schmid
I think, all s aren´t correct rendered after Hartmut´s conversion to PHP 4. See for example www.php.net/mt_rand -Egon From: "Philip Olson" <[EMAIL PROTECTED]> > Fixed. Also, anyone have word as to when or if > rand functions "auto seed" if seeds don't exist? > > iirc, jeroen/sterling did work

Re: [PHP-DOC] rand function definition

2002-03-13 Thread Philip Olson
Fixed. Also, anyone have word as to when or if rand functions "auto seed" if seeds don't exist? iirc, jeroen/sterling did work on that... Regards, Philip On Wed, 13 Mar 2002, Rasmus Lerdorf wrote: > Currently rand shows up as: > > int rand ( void)int rand ( int min, int max) > > at http:

[PHP-DOC] rand function definition

2002-03-13 Thread Rasmus Lerdorf
Currently rand shows up as: int rand ( void)int rand ( int min, int max) at http://www.php.net/manual/en/function.rand.php This is extremely ugly. Ca we not do: int rand([int min, int max]) ? -Rasmus