]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Wed, 7 Nov 2007 12:05:55 +0000 (12:05 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 7 Nov 2007 12:05:55 +0000 (12:05 +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 7b8b8bcb8f7f2299d6dae527bb0f8e7fc8aa31f5..e1d23f995dcd7d439b35cf980233ec4f1e7f4761 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,7 +321,7 @@ array(7) {
   [1]=>
   int(2147483647)
   [2]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done
 --UEXPECTF--
@@ -538,9 +538,9 @@ array(11) {
 bool(true)
 array(7) {
   [7]=>
-  float(-2147483649)
+  %s(-2147483649)
   [4]=>
-  float(-2147483648)
+  %s(-2147483648)
   [3]=>
   int(-2147483647)
   [6]=>
@@ -550,15 +550,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]=>
@@ -568,15 +568,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]=>
@@ -586,6 +586,6 @@ array(7) {
   [1]=>
   int(2147483647)
   [2]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done
index 8ba332ab4b5cafe6dc79f17899857dbc550545ec..8f7b7438675352eaa5ecb2316f1685ae9e3cabb4 100644 (file)
@@ -21,12 +21,12 @@ var_dump(max(0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 1
 
 echo "\nDone\n";
 ?>
---EXPECT--
+--EXPECTF--
 
 *** Testing boundary conditions ***
 int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
 int(-2147483646)
 int(-2147483647)
 int(-2147483647)
@@ -35,12 +35,12 @@ int(-2147483647)
 int(21)
 
 Done
---UEXPECT--
+--UEXPECTF--
 
 *** Testing boundary conditions ***
 int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
 int(-2147483646)
 int(-2147483647)
 int(-2147483647)
@@ -48,4 +48,4 @@ int(-2147483647)
 *** Testing large number of arguments ***
 int(21)
 
-Done
\ No newline at end of file
+Done
index 81bdf804444ef59fe3bbf76821c42a19b62699cb..19ae06c813aa63617a61654b727001cd80ca11d0 100644 (file)
@@ -28,7 +28,7 @@ var_dump(max(array(-2147483649, -2147483647)));
 echo "\nDone\n";
 
 ?>
---EXPECT--
+--EXPECTF--
 
 *** Testing arrays  ***
 int(2)
@@ -46,14 +46,14 @@ array(2) {
   int(3)
 }
 int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
 int(-2147483646)
 int(-2147483647)
 int(-2147483647)
 
 Done
---UEXPECT--
+--UEXPECTF--
 
 *** Testing arrays  ***
 int(2)
@@ -71,10 +71,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 f8bbecffab69f115ac94009917d95764f66cca46..fa7ba9ac921bab4c906876222ad2d2966d9c3998 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,7 +323,7 @@ array(7) {
   [5]=>
   int(2147483647)
   [6]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done
 --UEXPECTF--
@@ -540,9 +540,9 @@ array(11) {
 bool(true)
 array(7) {
   [0]=>
-  float(-2147483649)
+  %s(-2147483649)
   [1]=>
-  float(-2147483648)
+  %s(-2147483648)
   [2]=>
   int(-2147483647)
   [3]=>
@@ -552,15 +552,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]=>
@@ -570,15 +570,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]=>
@@ -588,6 +588,6 @@ array(7) {
   [5]=>
   int(2147483647)
   [6]=>
-  float(2147483648)
+  %s(2147483648)
 }
 Done