]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Wed, 7 Nov 2007 12:07:59 +0000 (12:07 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 7 Nov 2007 12:07:59 +0000 (12:07 +0000)
ext/standard/tests/array/asort_variation3.phpt
ext/standard/tests/array/max_variation1.phpt
ext/standard/tests/array/max_variation2.phpt
ext/standard/tests/array/sort_variation3.phpt

index 34729268a10096f0e07ae82f62599d6070d9e046..25f40d32a32dc0b073de90f91861043afbbec2b8 100644 (file)
@@ -273,9 +273,9 @@ array(11) {
 bool(true)
 array(7) {
   [7]=>
-  float(-2147483649)
+  %s(-2147483649)
   [4]=>
-  float(-2147483648)
+  %s(-2147483648)
   [3]=>
   int(-2147483647)
   [6]=>
@@ -285,15 +285,15 @@ array(7) {
   [1]=>
   int(2147483647)
   [2]=>
-  float(2147483648)
+  %s(2147483648)
 }
 - Sort_flag = SORT_REGULAR -
 bool(true)
 array(7) {
   [7]=>
-  float(-2147483649)
+  %s(-2147483649)
   [4]=>
-  float(-2147483648)
+  %s(-2147483648)
   [3]=>
   int(-2147483647)
   [6]=>
@@ -303,15 +303,15 @@ array(7) {
   [1]=>
   int(2147483647)
   [2]=>
-  float(2147483648)
+  %s(2147483648)
 }
 - Sort_flag = SORT_NUMERIC -
 bool(true)
 array(7) {
   [7]=>
-  float(-2147483649)
+  %s(-2147483649)
   [4]=>
-  float(-2147483648)
+  %s(-2147483648)
   [3]=>
   int(-2147483647)
   [6]=>
@@ -321,6 +321,6 @@ array(7) {
   [1]=>
   int(2147483647)
   [2]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done
index 68609dbef44a95f0005fcfb53953e2cf67516c55..912f89ca8cba690ce4e50d9fa23c0e7db8f81403 100644 (file)
@@ -25,8 +25,8 @@ echo "\nDone\n";
 
 *** Testing boundary conditions ***
 int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
 int(-2147483646)
 int(-2147483647)
 int(-2147483647)
@@ -34,4 +34,4 @@ int(-2147483647)
 *** Testing large number of arguments ***
 int(21)
 
-Done
\ No newline at end of file
+Done
index 15132d0a9e2e72a65f57f6685eff95ba686567cd..2f2dbfcd7d078d48e61183eec1106cd8114140ee 100644 (file)
@@ -46,10 +46,10 @@ array(2) {
   int(3)
 }
 int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
 int(-2147483646)
 int(-2147483647)
 int(-2147483647)
 
-Done
\ No newline at end of file
+Done
index 914e7e5649f8c98da86f09b922c4dff0cc385d74..1ad058d4e9c565d8e906ff14a5477d97c617de0a 100644 (file)
@@ -275,9 +275,9 @@ array(11) {
 bool(true)
 array(7) {
   [0]=>
-  float(-2147483649)
+  %s(-2147483649)
   [1]=>
-  float(-2147483648)
+  %s(-2147483648)
   [2]=>
   int(-2147483647)
   [3]=>
@@ -287,15 +287,15 @@ array(7) {
   [5]=>
   int(2147483647)
   [6]=>
-  float(2147483648)
+  %s(2147483648)
 }
 - Sort flag = SORT_REGULAR -
 bool(true)
 array(7) {
   [0]=>
-  float(-2147483649)
+  %s(-2147483649)
   [1]=>
-  float(-2147483648)
+  %s(-2147483648)
   [2]=>
   int(-2147483647)
   [3]=>
@@ -305,15 +305,15 @@ array(7) {
   [5]=>
   int(2147483647)
   [6]=>
-  float(2147483648)
+  %s(2147483648)
 }
 - Sort flag = SORT_NUMERIC -
 bool(true)
 array(7) {
   [0]=>
-  float(-2147483649)
+  %s(-2147483649)
   [1]=>
-  float(-2147483648)
+  %s(-2147483648)
   [2]=>
   int(-2147483647)
   [3]=>
@@ -323,6 +323,6 @@ array(7) {
   [5]=>
   int(2147483647)
   [6]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done