From: Raghubansh Kumar Date: Fri, 10 Aug 2007 03:31:56 +0000 (+0000) Subject: more new testcases for tempnam() function X-Git-Tag: php-5.2.4RC2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bdaf6ab5577226451e73122cc088758a332c69a;p=php more new testcases for tempnam() function --- diff --git a/ext/standard/tests/file/tempnam_error.phpt b/ext/standard/tests/file/tempnam_error.phpt new file mode 100644 index 0000000000..65ea3c7466 --- /dev/null +++ b/ext/standard/tests/file/tempnam_error.phpt @@ -0,0 +1,46 @@ +--TEST-- +Test tempnam() function: error conditions +--FILE-- + +--EXPECTF-- +*** Testing tempnam() error conditions *** + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL + +Warning: Wrong parameter count for tempnam() in %s on line %d +NULL