cvs: php-src(PHP_5_2) /ext/standard/tests/array arsort_variation3.phpt
| From: | Ilia Alshanetsky | Date: | Mon, 11 Feb 2008 16:23:12 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/array arsort_variation3.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48443@lists.php.net to get a copy of this message | ||
iliaa Mon Feb 11 16:23:12 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/array arsort_variation3.phpt
Log:
MFB: Fixed test on 64bit machines
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/arsort_variation3.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/arsort_variation3.phpt
diff -u php-src/ext/standard/tests/array/arsort_variation3.phpt:1.1.2.2
php-src/ext/standard/tests/array/arsort_variation3.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/arsort_variation3.phpt:1.1.2.2 Tue Feb 5 11:18:00 2008
+++ php-src/ext/standard/tests/array/arsort_variation3.phpt Mon Feb 11 16:23:12 2008
@@ -59,7 +59,7 @@
echo "Done\n";
?>
---EXPECT--
+--EXPECTF--
*** Testing arsort() : usage variations ***
-- Testing arsort() by supplying various integer/float arrays --
@@ -273,7 +273,7 @@
bool(true)
array(7) {
[2]=>
- float(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[6]=>
@@ -283,15 +283,15 @@
[3]=>
int(-2147483647)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[7]=>
- float(-2147483649)
+ %s(-2147483649)
}
- Sort_flag = SORT_REGULAR -
bool(true)
array(7) {
[2]=>
- float(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[6]=>
@@ -301,15 +301,15 @@
[3]=>
int(-2147483647)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[7]=>
- float(-2147483649)
+ %s(-2147483649)
}
- Sort_flag = SORT_NUMERIC -
bool(true)
array(7) {
[2]=>
- float(2147483648)
+ %s(2147483648)
[1]=>
int(2147483647)
[6]=>
@@ -319,8 +319,8 @@
[3]=>
int(-2147483647)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[7]=>
- float(-2147483649)
+ %s(-2147483649)
}
Done
\ No newline at end of file