summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-11-09 19:36:07 +0000
committerAndrea Faulds <ajf@ajf.me>2014-11-09 19:36:07 +0000
commit26bb809c21b87dd8c7aed8973d717c5a8c062137 (patch)
treeb190fbbd83609bde1298bb23eae824a51a92ac64 /ext/standard/tests/math
parentb70779304cba6c3b9ded8da887535b2dc9495c68 (diff)
downloadphp-git-26bb809c21b87dd8c7aed8973d717c5a8c062137.tar.gz
Fixed more 32-bit tests
Diffstat (limited to 'ext/standard/tests/math')
-rw-r--r--ext/standard/tests/math/mt_rand_variation2.phpt4
-rw-r--r--ext/standard/tests/math/mt_srand_variation1.phpt2
-rw-r--r--ext/standard/tests/math/rand_variation1.phpt4
-rw-r--r--ext/standard/tests/math/rand_variation2.phpt4
-rw-r--r--ext/standard/tests/math/srand_variation1.phpt2
5 files changed, 13 insertions, 3 deletions
diff --git a/ext/standard/tests/math/mt_rand_variation2.phpt b/ext/standard/tests/math/mt_rand_variation2.phpt
index 2174a349e5..73b24f82af 100644
--- a/ext/standard/tests/math/mt_rand_variation2.phpt
+++ b/ext/standard/tests/math/mt_rand_variation2.phpt
@@ -110,7 +110,9 @@ int(%i)
int(%i)
-- Iteration 8 --
-int(%i)
+
+Warning: mt_rand() expects parameter 2 to be long, double given in %s on line %d
+NULL
-- Iteration 9 --
int(%i)
diff --git a/ext/standard/tests/math/mt_srand_variation1.phpt b/ext/standard/tests/math/mt_srand_variation1.phpt
index feb0b37972..e69de44e8d 100644
--- a/ext/standard/tests/math/mt_srand_variation1.phpt
+++ b/ext/standard/tests/math/mt_srand_variation1.phpt
@@ -110,6 +110,8 @@ NULL
NULL
-- Iteration 8 --
+
+Warning: mt_srand() expects parameter 1 to be long, double given in %s on line %d
NULL
-- Iteration 9 --
diff --git a/ext/standard/tests/math/rand_variation1.phpt b/ext/standard/tests/math/rand_variation1.phpt
index 02e552b784..0c547ce081 100644
--- a/ext/standard/tests/math/rand_variation1.phpt
+++ b/ext/standard/tests/math/rand_variation1.phpt
@@ -110,7 +110,9 @@ int(%i)
int(%i)
-- Iteration 8 --
-int(%i)
+
+Warning: rand() expects parameter 1 to be long, double given in %s on line %d
+NULL
-- Iteration 9 --
int(%i)
diff --git a/ext/standard/tests/math/rand_variation2.phpt b/ext/standard/tests/math/rand_variation2.phpt
index c0e1fc6373..d292c24941 100644
--- a/ext/standard/tests/math/rand_variation2.phpt
+++ b/ext/standard/tests/math/rand_variation2.phpt
@@ -110,7 +110,9 @@ int(%i)
int(%i)
-- Iteration 8 --
-int(%i)
+
+Warning: rand() expects parameter 2 to be long, double given in %s on line %d
+NULL
-- Iteration 9 --
int(%i)
diff --git a/ext/standard/tests/math/srand_variation1.phpt b/ext/standard/tests/math/srand_variation1.phpt
index 16da80fd6a..da6bdb7899 100644
--- a/ext/standard/tests/math/srand_variation1.phpt
+++ b/ext/standard/tests/math/srand_variation1.phpt
@@ -110,6 +110,8 @@ NULL
NULL
-- Iteration 8 --
+
+Warning: srand() expects parameter 1 to be long, double given in %s on line %d
NULL
-- Iteration 9 --