tony2001                Thu Jul  3 07:41:59 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/general_functions       var_dump_64bit.phpt 
                                                        is_int_64bit.phpt 
                                                        is_float_64bit.phpt 
  Log:
  fix tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt?r1=1.1.2.1.2.1&r2=1.1.2.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt
diff -u 
php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.1.2.1.2.1 
php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.1.2.1.2.2
--- 
php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.1.2.1.2.1    
    Fri Nov  2 19:41:12 2007
+++ php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt    Thu Jul 
 3 07:41:58 2008
@@ -1907,5 +1907,5 @@
 
 *** Testing error conditions ***
 
-Warning: Wrong parameter count for var_dump() in %s on line %d
+Warning: var_dump() expects at least 1 parameter, 0 given in %s on line %d
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_int_64bit.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_int_64bit.phpt
diff -u php-src/ext/standard/tests/general_functions/is_int_64bit.phpt:1.1.2.1 
php-src/ext/standard/tests/general_functions/is_int_64bit.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/general_functions/is_int_64bit.phpt:1.1.2.1      
Mon May 14 11:04:30 2007
+++ php-src/ext/standard/tests/general_functions/is_int_64bit.phpt      Thu Jul 
 3 07:41:58 2008
@@ -147,12 +147,6 @@
  
 echo "Done\n";
 ?>
-
---CLEAN--
-// close the resources
-fclose($fp);
-closedir($dfp);
-
 --EXPECTF--
 *** Testing is_int(), is_integer() & is_long()  with valid integer values ***
 --Iteration 1--
@@ -448,21 +442,21 @@
 
 *** Testing error conditions ***
 
-Warning: is_int(): Only one argument expected in %s on line %d
+Warning: is_int() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_integer(): Only one argument expected in %s on line %d
+Warning: is_integer() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_long(): Only one argument expected in %s on line %d
+Warning: is_long() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_int(): Only one argument expected in %s on line %d
+Warning: is_int() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 
-Warning: is_integer(): Only one argument expected in %s on line %d
+Warning: is_integer() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 
-Warning: is_long(): Only one argument expected in %s on line %d
+Warning: is_long() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_float_64bit.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_float_64bit.phpt
diff -u 
php-src/ext/standard/tests/general_functions/is_float_64bit.phpt:1.1.2.1 
php-src/ext/standard/tests/general_functions/is_float_64bit.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/general_functions/is_float_64bit.phpt:1.1.2.1    
Mon May 14 11:04:30 2007
+++ php-src/ext/standard/tests/general_functions/is_float_64bit.phpt    Thu Jul 
 3 07:41:58 2008
@@ -142,12 +142,6 @@
  
 echo "Done\n";
 ?>
-
---CLEAN--
-// close the resources used 
-fclose($fp);
-closedir($dfp);
-
 --EXPECTF--
 *** Testing is_float(), is_double() and is_real() with float values***
 -- Iteration 1 --
@@ -423,21 +417,21 @@
 
 *** Testing error conditions ***
 
-Warning: is_float(): Only one argument expected in %s on line %d
+Warning: is_float() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_double(): Only one argument expected in %s on line %d
+Warning: is_double() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_real(): Only one argument expected in %s on line %d
+Warning: is_real() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
-Warning: is_float(): Only one argument expected in %s on line %d
+Warning: is_float() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 
-Warning: is_double(): Only one argument expected in %s on line %d
+Warning: is_double() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 
-Warning: is_real(): Only one argument expected in %s on line %d
+Warning: is_real() expects exactly 1 parameter, 2 given in %s on line %d
 bool(false)
 Done



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

Reply via email to