iliaa Mon Feb 11 16:02:46 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array arsort_variation3.phpt
Log:
Fixed test on 64bit machines
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/arsort_variation3.phpt?r1=1.1.4.3&r2=1.1.4.4&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.4.3
php-src/ext/standard/tests/array/arsort_variation3.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/arsort_variation3.phpt:1.1.4.3 Tue Feb
5 11:19:17 2008
+++ php-src/ext/standard/tests/array/arsort_variation3.phpt Mon Feb 11
16:02:46 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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php