> > 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
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
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
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
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
> 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
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
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:
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