Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Pchp
Library
PhpMath
srand
Pchp.Library.PhpMath.srand C# (CSharp) Method
PhpMath Class Documentation
Mostrar archivo
Open project: iolevel/peachpie
srand()
public
static
method
Seed the random number generator. No return value.
public
static
srand
( ) :
void
return
void
public static void srand() { _generator = new Random(); }
Same methods
PhpMath::
srand
(
int
seed
) :
void
PhpMath
AbsolutizeRange
BaseToDouble
ConvertToLong
DoubleToBase
FindExtreme
GetExtreme
Power10Value
Random01
RoundInternal
_Log10Abs
abs
acos
acosh
asin
asinh
atan
atan2
atanh
base_convert
bindec
ceil
cos
cosh
decbin
dechex
decoct
deg2rad
exp
expm1
floor
fmod
getrandmax
hexdec
hypot
is_finite
is_infinite
is_nan
lcg_value
log
log10
log1p
max
min
mt_getrandmax
mt_rand
mt_srand
octdec
pi
pow
rad2deg
rand
round
sin
sinh
sqrt
srand
tan
tanh
uniqid