Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return BinOpLShift Num Num orelse If CompareEq NameLoad Str body Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body If CompareEq NameLoad Str body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad BinOpDiv BinOpMult BinOpSub SubscriptLoad NameLoad Index Num NameLoad BinOpAdd NameLoad Num BinOpAdd BinOpSub NameLoad NameLoad Num Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body For NameStore Call NameLoad BinOpPow Num Call NameLoad BinOpSub Num Call NameLoad BinOpSub NameLoad NameLoad Num body For NameStore Call NameLoad BinOpPow Num Num body Assign NameStore BinOpBitOr BinOpLShift NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice Num keyword Num keyword Num keyword BinOpPow Num Num keyword Num keyword NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad AugAssignAdd NameStore Num orelse If CompareEq NameLoad Str body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad BinOpAdd NameLoad BinOpFloorDiv BinOpMult BinOpAdd BinOpSub NameLoad NameLoad Num NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Num NameLoad For NameStore NameLoad body Expr Yield Call NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Num NameLoad For NameStore NameLoad body Expr Yield Call NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad decorator_list
N/A N/A  Predicts and simulates outputs from the PHP 'rand' function. This
is generally a call to the corresponding 'rand' of the platform C
implementation.
 N/A foresight.glibc.random N/A foresight.msvc.rand foresight lcg math log ceil _platform_tmax N/A N/A platform N/A N/A N/A N/A platform windows N/A N/A N/A 1 15 N/A N/A N/A platform linux N/A N/A 2147483647 N/A predict_state N/A N/A values platform value_range N/A None N/A N/A N/A value_range None N/A N/A N/A platform windows N/A N/A N/A N/A N/A N/A foresight msvc rand predict_state values N/A N/A N/A platform linux N/A N/A N/A N/A N/A N/A foresight glibc random predict_state values N/A N/A tmax N/A _platform_tmax platform N/A min N/A value_range N/A 0 N/A max N/A value_range N/A 1 N/A init N/A int N/A N/A N/A N/A values N/A 0 min N/A tmax 1.0 N/A N/A max min 1.0 N/A operation N/A N/A N/A x N/A N/A rand_range x min max tmax N/A N/A platform windows N/A N/A i N/A range N/A 2 N/A ceil N/A 16 N/A log N/A max min 2 N/A N/A lower N/A range N/A 2 16 N/A N/A num N/A N/A init 16 lower N/A state N/A N/A lcg verify_candidate num N/A values N/A 1 a 214013 c 2531011 m N/A 2 31 masked_bits 16 operation operation N/A N/A state None N/A N/A state N/A init 1 N/A N/A N/A platform linux N/A N/A N/A NotImplementedError Linux PHP bounded rand is not yet supported N/A rand_range N/A N/A n min max tmax N/A N/A N/A 
    If a lower and upper bound is specified, the following macro is used
    to shift the output into the target range in a more-or-less uniform
    way.

    #define RAND_RANGE(__n, __min, __max, __tmax)       (__n) = (__min) + (zend_long) ((double) ( (double) (__max) - (__min) + 1.0) * ((__n) / ((__tmax) + 1.0)))
     N/A N/A int N/A min N/A N/A N/A N/A max min 1.0 n N/A tmax 1.0 N/A from_outputs N/A N/A prev_values platform value_range N/A None N/A N/A state N/A predict_state prev_values platform value_range N/A tmax N/A _platform_tmax platform N/A N/A platform windows N/A N/A gen N/A N/A N/A N/A foresight msvc rand generate_values state N/A N/A N/A platform linux N/A N/A gen N/A N/A N/A N/A foresight glibc random generate_values state N/A N/A value_range None N/A N/A value_range N/A 0 tmax N/A prediction gen N/A N/A N/A N/A rand_range prediction N/A value_range N/A 0 N/A value_range N/A 1 tmax N/A from_seed N/A N/A seed platform value_range N/A None N/A N/A tmax N/A _platform_tmax platform N/A N/A platform windows N/A N/A gen N/A N/A N/A N/A foresight msvc rand from_seed seed N/A N/A N/A platform linux N/A N/A gen N/A N/A N/A N/A foresight glibc random from_seed seed N/A N/A value_range None N/A N/A value_range N/A 0 tmax N/A prediction gen N/A N/A N/A N/A rand_range prediction N/A value_range N/A 0 N/A value_range N/A 1 tmax N/A