Lines Matching refs:range
2 Test range() function (errors)
11 var_dump( range(1, 2, 0) );
12 var_dump( range("a", "b", 0) );
15 var_dump( range(2, 1, 0) );
16 var_dump( range("b", "a", 0) );
19 var_dump( range(1.0, 7.0, 6.5) );
22 var_dump( range(7.0, 1.0, 6.5) );
25 var_dump( range() ); // No.of args = 0
26 var_dump( range(1) ); // No.of args < expected
27 var_dump( range(1,2,3,4) ); // No.of args > expected
28 var_dump( range(-1, -2, 2) );
29 var_dump( range("a", "j", "z") );
30 var_dump( range(0, 1, "140962482048819216326.24") );
31 var_dump( range(0, 1, "140962482048819216326.24.") );
37 var_dump( range( 1, 5, $step ) );
46 Warning: range(): step exceeds the specified range in %s on line %d
49 Warning: range(): step exceeds the specified range in %s on line %d
54 Warning: range(): step exceeds the specified range in %s on line %d
57 Warning: range(): step exceeds the specified range in %s on line %d
62 Warning: range(): step exceeds the specified range in %s on line %d
67 Warning: range(): step exceeds the specified range in %s on line %d
71 Warning: range() expects at least 2 parameters, 0 given in %s on line %d
74 Warning: range() expects at least 2 parameters, 1 given in %s on line %d
77 Warning: range() expects at most 3 parameters, 4 given in %s on line %d
80 Warning: range(): step exceeds the specified range in %s on line %d
83 Warning: range(): Invalid range string - must be numeric in %s on line %d
86 Warning: range(): step exceeds the specified range in %s on line %d
89 Warning: range(): Invalid range string - must be numeric in %s on line %d
93 Warning: range(): Invalid range string - must be numeric in %s on line %d
96 Warning: range(): step exceeds the specified range in %s on line %d
99 Warning: range(): step exceeds the specified range in %s on line %d
102 Warning: range(): Invalid range string - must be numeric in %s on line %d
105 Warning: range(): Invalid range string - must be numeric in %s on line %d