com php-src: Fixed tests on 32-bits: ext/standard/tests/array/a rsort_variation3.phpt ext/standard/tests/array/asort_ variation3.phpt
ext/standard/tests/array/natcasesort_va riation3.phpt
| From: | Xinchen Hui | Date: | Thu, 15 Jan 2015 06:23:47 +0000 |
| Subject: | com php-src: Fixed tests on 32-bits: ext/standard/tests/array/a rsort_variation3.phpt ext/standard/tests/array/asort_ variation3.phpt ext/standard/tests/array/natcasesort_va riation3.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84101@lists.php.net to get a copy of this message | ||
Commit: e61f444268f22c3994c37b8db5cc95b67f67f8ca
Author: Xinchen Hui <laruence@php.net> Thu, 15 Jan 2015 14:23:47 +0800
Parents: b57dc41e075a88e8808d66973521dfdbd4a43336
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e61f444268f22c3994c37b8db5cc95b67f67f8ca
Log:
Fixed tests on 32-bits
Changed paths:
M ext/standard/tests/array/arsort_variation3.phpt
M ext/standard/tests/array/asort_variation3.phpt
M ext/standard/tests/array/natcasesort_variation3.phpt
Diff:
diff --git a/ext/standard/tests/array/arsort_variation3.phpt
b/ext/standard/tests/array/arsort_variation3.phpt
index 5b2de4b..765efe8 100644
--- a/ext/standard/tests/array/arsort_variation3.phpt
+++ b/ext/standard/tests/array/arsort_variation3.phpt
@@ -273,7 +273,7 @@ array(11) {
bool(true)
array(7) {
[2]=>
- int(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[5]=>
@@ -283,15 +283,15 @@ array(7) {
[3]=>
int(-2147483647)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[7]=>
- int(-2147483649)
+ %s(-2147483649)
}
- Sort_flag = SORT_REGULAR -
bool(true)
array(7) {
[2]=>
- int(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[5]=>
@@ -301,15 +301,15 @@ array(7) {
[3]=>
int(-2147483647)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[7]=>
- int(-2147483649)
+ %s(-2147483649)
}
- Sort_flag = SORT_NUMERIC -
bool(true)
array(7) {
[2]=>
- int(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[5]=>
@@ -319,8 +319,8 @@ array(7) {
[3]=>
int(-2147483647)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[7]=>
- int(-2147483649)
+ %s(-2147483649)
}
Done
diff --git a/ext/standard/tests/array/asort_variation3.phpt
b/ext/standard/tests/array/asort_variation3.phpt
index 563a20e..a9d3f6a 100644
--- a/ext/standard/tests/array/asort_variation3.phpt
+++ b/ext/standard/tests/array/asort_variation3.phpt
@@ -273,9 +273,9 @@ array(11) {
bool(true)
array(7) {
[7]=>
- int(-2147483649)
+ %s(-2147483649)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[5]=>
@@ -285,15 +285,15 @@ array(7) {
[1]=>
int(2147483647)
[2]=>
- int(2147483648)
+ %s(2147483648)
}
- Sort_flag = SORT_REGULAR -
bool(true)
array(7) {
[7]=>
- int(-2147483649)
+ %s(-2147483649)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[5]=>
@@ -303,15 +303,15 @@ array(7) {
[1]=>
int(2147483647)
[2]=>
- int(2147483648)
+ %s(2147483648)
}
- Sort_flag = SORT_NUMERIC -
bool(true)
array(7) {
[7]=>
- int(-2147483649)
+ %s(-2147483649)
[4]=>
- int(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[5]=>
@@ -321,6 +321,6 @@ array(7) {
[1]=>
int(2147483647)
[2]=>
- int(2147483648)
+ %s(2147483648)
}
Done
diff --git a/ext/standard/tests/array/natcasesort_variation3.phpt
b/ext/standard/tests/array/natcasesort_variation3.phpt
index 77f83e1..452e886 100644
--- a/ext/standard/tests/array/natcasesort_variation3.phpt
+++ b/ext/standard/tests/array/natcasesort_variation3.phpt
@@ -123,13 +123,13 @@ array(7) {
float(-2147483648)
[6]=>
float(-2147483649)
- [5]=>
- int(0)
[4]=>
int(0)
+ [5]=>
+ int(0)
[0]=>
int(2147483647)
[1]=>
float(2147483648)
}
-Done
\ No newline at end of file
+Done