PHP Velho Oeste 2024

getrandmax

(PHP 4, PHP 5, PHP 7)

getrandmax가능한 최대 난수값을 표시

설명

int getrandmax ( void )

rand() 호출이 반환할 수 있는 최대값을 반환합니다.

반환값

rand()가 반환할 수 있는 최대 난수값

참고

add a note add a note

User Contributed Notes 1 note

up
0
Anonymous
1 year ago
On a stock installation as of version 7.4.33 / 8.1.12, this function seems to return 2147483647 (maximum 32-bit integer).
To Top