tony2001                Fri Dec 16 15:52:09 2005 EDT

  Added files:                 (Branch: PHP_5_1)
    /php-src/ext/standard/tests/array   bug35014_64bit.phpt 

  Modified files:              
    /php-src/ext/standard/tests/array   bug35014.phpt 
  Log:
  fix test
  add new one for 64bit only
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/tests/array/bug35014.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/bug35014.phpt
diff -u php-src/ext/standard/tests/array/bug35014.phpt:1.1.2.2 
php-src/ext/standard/tests/array/bug35014.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/bug35014.phpt:1.1.2.2      Tue Nov  1 
22:39:53 2005
+++ php-src/ext/standard/tests/array/bug35014.phpt      Fri Dec 16 15:52:09 2005
@@ -1,5 +1,7 @@
 --TEST--
-Bug #35014 (array_product() always returns 0)
+Bug #35014 (array_product() always returns 0) (32bit)
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); 
?>
 --INI--
 precision=14
 --FILE--
@@ -22,7 +24,7 @@
 ?>
 --EXPECTF--    
 
-Warning: array_product(): The argument should be an array in %s/bug35014.php 
on line 15
+Warning: array_product(): The argument should be an array in %s on line %d
 NULL
 int(0)
 int(0)

http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/tests/array/bug35014_64bit.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/bug35014_64bit.phpt
+++ php-src/ext/standard/tests/array/bug35014_64bit.phpt

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

Reply via email to