sniper          Tue Nov  1 17:42:03 2005 EDT

  Modified files:              
    /php-src/ext/standard/tests/array   bug35014.phpt 
  Log:
  MFB: fixed test
  
http://cvs.php.net/diff.php/php-src/ext/standard/tests/array/bug35014.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/standard/tests/array/bug35014.phpt
diff -u php-src/ext/standard/tests/array/bug35014.phpt:1.2 
php-src/ext/standard/tests/array/bug35014.phpt:1.3
--- php-src/ext/standard/tests/array/bug35014.phpt:1.2  Sun Oct 30 08:46:34 2005
+++ php-src/ext/standard/tests/array/bug35014.phpt      Tue Nov  1 17:42:03 2005
@@ -1,24 +1,27 @@
 --TEST--
 Bug #35014 (array_product() always returns 0)
+--INI--
+precision=14
 --FILE--
 <?php
 $tests = array(
-        'foo',
-        array(),
-        array(0),
-        array(3),
-        array(3, 3),
-        array(0.5, 2),
-        array(99999999, 99999999),
-        array(8.993, 7443241,988, sprintf("%u", -1)+0.44),
+       'foo',
+       array(),
+       array(0),
+       array(3),
+       array(3, 3),
+       array(0.5, 2),
+       array(99999999, 99999999),
+       array(8.993, 7443241,988, sprintf("%u", -1)+0.44),
        array(2,sprintf("%u", -1)),
 );
 
 foreach ($tests as $v) {
-        var_dump(array_product($v));
+       var_dump(array_product($v));
 }
 ?>
 --EXPECTF--    
+
 Warning: array_product(): The argument should be an array in %s/bug35014.php 
on line 15
 NULL
 int(0)

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

Reply via email to