Lines Matching refs:min
2 Check min() optimisation for int and float types
9 var_dump(min(10, 5, 3, 2));
10 var_dump(min(2, 3, 5, 10));
11 var_dump(min(10, 5, 3.5, 2));
12 var_dump(min(2, 3.5, 5, 10));
13 var_dump(min(10, 5, "3", 2));
14 var_dump(min(2, "3", 5, 10));
15 var_dump(min(2, 3, "1", 10));
17 var_dump(min(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX*2));
18 var_dump(min(PHP_INT_MIN+1, PHP_INT_MIN, PHP_INT_MIN*2));
20 var_dump(min(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX**20));
23 var_dump(min(10.5, 5.5, 3.5, 2.5));
24 var_dump(min(2.5, 3.5, 5.5, 10.5));
25 var_dump(min(10.5, 5.5, 3, 2.5));
26 var_dump(min(2.5, 3, 5.5, 10.5));
27 var_dump(min(10.5, 5.5, "3.5", 2.5));
28 var_dump(min(2.5, "3.5", 5.5, 10.5));
29 var_dump(min(2.5, 3.5, "1.5", 10.5));
31 var_dump(min(PHP_INT_MAX*2, PHP_INT_MAX, PHP_INT_MAX-1));
32 var_dump(min(PHP_INT_MIN*2, PHP_INT_MIN, PHP_INT_MIN+1));
34 var_dump(min(PHP_INT_MAX**20, PHP_INT_MAX, PHP_INT_MAX-1));