function:rand ( min, max );return type:floatcontent:ใช้สุ่มเลข ระหว่าง 0 ถึง 1 ( หรือระหว่าง min ถึง max )example:echo rand(); echo rand( 1, 50 );