mattwil         Fri Jun  5 17:15:33 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/array   array_slice_variation2.phpt 
                                        array_slice_variation3.phpt 
    /php-src/ext/standard/tests/math    decbin_variation1_64bit.phpt 
                                        dechex_variation1_64bit.phpt 
                                        decoct_variation1_64bit.phpt 
  Log:
  MFH: Fixed tests again after double->long conversion change (to match 5.2)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_slice_variation2.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/array_slice_variation2.phpt
diff -u php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.1.4.3 
php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.1.4.3        
Thu Jun  4 18:25:05 2009
+++ php-src/ext/standard/tests/array/array_slice_variation2.phpt        Fri Jun 
 5 17:15:33 2009
@@ -1,5 +1,7 @@
 --TEST--
 Test array_slice() function : usage variations - Pass different data types as 
$offset arg
+--SKIPIF--
+<?php if (PHP_INT_SIZE > 4) die("skip this test is for 32bit platform only"); 
?>
 --FILE--
 <?php
 /* Prototype  : array array_slice(array $input, int $offset [, int $length [, 
bool $preserve_keys]])
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_slice_variation3.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/array_slice_variation3.phpt
diff -u php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.1.4.3 
php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.1.4.3        
Thu Jun  4 18:25:05 2009
+++ php-src/ext/standard/tests/array/array_slice_variation3.phpt        Fri Jun 
 5 17:15:33 2009
@@ -1,5 +1,7 @@
 --TEST--
 Test array_slice() function : usage variations - Pass different data types as 
$length arg
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); 
?>
 --FILE--
 <?php
 /* Prototype  : array array_slice(array $input, int $offset [, int $length [, 
bool $preserve_keys]])
@@ -118,7 +120,11 @@
 }
 
 -- Iteration 7 --
-array(0) {
+array(2) {
+  ["three"]=>
+  int(3)
+  [0]=>
+  int(4)
 }
 
 -- Iteration 8 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.1.2.3 
php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.1.2.4
--- php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.1.2.3        
Thu Jun  4 18:25:05 2009
+++ php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt        Fri Jun 
 5 17:15:33 2009
@@ -107,7 +107,7 @@
 string(64) "1111111111111111111111111111111111111111111111111111011011010111"
 
 -- Iteration 5 --
-string(63) "111111111111111111111111111111111111111111111111111111111111111"
+string(1) "0"
 
 -- Iteration 6 --
 string(1) "0"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.1.2.3 
php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.1.2.4
--- php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.1.2.3        
Thu Jun  4 18:25:05 2009
+++ php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt        Fri Jun 
 5 17:15:33 2009
@@ -107,7 +107,7 @@
 string(16) "fffffffffffff6d7"
 
 -- Iteration 5 --
-string(16) "7fffffffffffffff"
+string(1) "0"
 
 -- Iteration 6 --
 string(1) "0"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.1.2.3 
php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.1.2.4
--- php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.1.2.3        
Thu Jun  4 18:25:05 2009
+++ php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt        Fri Jun 
 5 17:15:33 2009
@@ -108,7 +108,7 @@
 string(22) "1777777777777777773327"
 
 -- Iteration 5 --
-string(21) "777777777777777777777"
+string(1) "0"
 
 -- Iteration 6 --
 string(1) "0"



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to