com php-src: Revert 39587c4817522f 40a639f32f77f49595fab066f9 8b7f594a2bcd67154274c55 33274fe4d83a676fd Because of 2
4fdffdacbfeaa20e8f08d44c7c61e3fb7ba 9ac5: ext/standard/tests/math/rand_variation1.php t ext/standard/tests/math/rand_variation2.phpt
| From: | Remi Collet | Date: | Thu, 01 Sep 2016 13:21:45 +0000 |
| Subject: | com php-src: Revert 39587c4817522f 40a639f32f77f49595fab066f9 8b7f594a2bcd67154274c55 33274fe4d83a676fd Because of 2 4fdffdacbfeaa20e8f08d44c7c61e3fb7ba 9ac5: ext/standard/tests/math/rand_variation1.php t ext/standard/tests/math/rand_variation2.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94229@lists.php.net to get a copy of this message | ||
Commit: 5a9691bf08ab412d5b1640de340689f472aa0cb9
Author: Remi Collet <remi@php.net> Thu, 1 Sep 2016 15:21:45 +0200
Parents: cba560e67fbd44abf6648dd01ec0f231123993cd
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5a9691bf08ab412d5b1640de340689f472aa0cb9
Log:
Revert
39587c4817522f40a639f32f77f49595fab066f9
8b7f594a2bcd67154274c5533274fe4d83a676fd
Because of
24fdffdacbfeaa20e8f08d44c7c61e3fb7ba9ac5
Changed paths:
M ext/standard/tests/math/rand_variation1.phpt
M ext/standard/tests/math/rand_variation2.phpt
Diff:
diff --git a/ext/standard/tests/math/rand_variation1.phpt
b/ext/standard/tests/math/rand_variation1.phpt
index 7019a99..f14ada8 100644
--- a/ext/standard/tests/math/rand_variation1.phpt
+++ b/ext/standard/tests/math/rand_variation1.phpt
@@ -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)
diff --git a/ext/standard/tests/math/rand_variation2.phpt
b/ext/standard/tests/math/rand_variation2.phpt
index 04ee205..824b47b 100644
--- a/ext/standard/tests/math/rand_variation2.phpt
+++ b/ext/standard/tests/math/rand_variation2.phpt
@@ -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 --