]> granicus.if.org Git - php/commitdiff
Revert
authorRemi Collet <remi@php.net>
Thu, 1 Sep 2016 13:21:45 +0000 (15:21 +0200)
committerRemi Collet <remi@php.net>
Thu, 1 Sep 2016 13:21:45 +0000 (15:21 +0200)
39587c4817522f40a639f32f77f49595fab066f9
8b7f594a2bcd67154274c5533274fe4d83a676fd
Because of
24fdffdacbfeaa20e8f08d44c7c61e3fb7ba9ac5

ext/standard/tests/math/rand_variation1.phpt
ext/standard/tests/math/rand_variation2.phpt

index 7019a99d57c45a8352055db665e2d044012dbd03..f14ada87f58bab566e35daa1f3923d8c9d80b7e5 100644 (file)
@@ -97,17 +97,13 @@ int(%i)
 int(%i)
 
 -- Iteration 3 --
-
-Warning: rand(): max(100) is smaller than min(12345) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 4 --
 int(%i)
 
 -- Iteration 5 --
-
-Warning: rand(): max(100) is smaller than min(2147483647) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 6 --
 int(%i)
index 04ee205191294f3c3de30fb091d113bdd7854236..824b47b0cb56b60c3608519a0151ff25bdb72ca4 100644 (file)
@@ -91,35 +91,25 @@ fclose($fp);
 *** Testing rand) : usage variations ***
 
 -- Iteration 1 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 2 --
-
-Warning: rand(): max(1) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 3 --
 int(%i)
 
 -- Iteration 4 --
-
-Warning: rand(): max(-2345) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 5 --
 int(%i)
 
 -- Iteration 6 --
-
-Warning: rand(): max(10) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 7 --
-
-Warning: rand(): max(-10) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 8 --
 
@@ -127,44 +117,28 @@ Warning: rand() expects parameter 2 to be integer, float given in %s on line %d
 NULL
 
 -- Iteration 9 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 10 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 11 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 12 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 13 --
-
-Warning: rand(): max(1) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 14 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 15 --
-
-Warning: rand(): max(1) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 16 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 17 --
 
@@ -202,14 +176,10 @@ Warning: rand() expects parameter 2 to be integer, object given in %s on line %d
 NULL
 
 -- Iteration 24 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 25 --
-
-Warning: rand(): max(0) is smaller than min(100) in %s on line %d
-bool(false)
+int(%i)
 
 -- Iteration 26 --