From f49d1921d2c2677b453c2f2bccfdaab5f9d177f5 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 8 Dec 2003 09:19:54 +0000 Subject: [PATCH] Seed becomes optional in PHP 4.2.0 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145949 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/math/functions/mt-srand.xml | 6 ++++-- reference/math/functions/srand.xml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/reference/math/functions/mt-srand.xml b/reference/math/functions/mt-srand.xml index 6a2a2e7046..3917d8389c 100644 --- a/reference/math/functions/mt-srand.xml +++ b/reference/math/functions/mt-srand.xml @@ -1,5 +1,5 @@ - + @@ -10,11 +10,13 @@ Description voidmt_srand - intseed + intseed Seeds the random number generator with seed. + Since PHP 4.2.0, the seed + becomes optional and defaults to a random value if omitted. - + @@ -10,11 +10,13 @@ Description voidsrand - intseed + intseed Seeds the random number generator with seed. + Since PHP 4.2.0, the seed + becomes optional and defaults to a random value if omitted.