cvs: pecl /phar/tests 027.phpt
| From: | Greg Beaver | Date: | Sun, 13 Apr 2008 23:48:45 +0000 |
| Subject: | cvs: pecl /phar/tests 027.phpt | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10365@lists.php.net to get a copy of this message | ||
cellog Sun Apr 13 23:48:45 2008 UTC
Modified files:
/pecl/phar/tests 027.phpt
Log:
add to 027 test (for code coverage) of fwrite on dir handle
http://cvs.php.net/viewvc.cgi/pecl/phar/tests/027.phpt?r1=1.10&r2=1.11&diff_format=u
Index: pecl/phar/tests/027.phpt
diff -u pecl/phar/tests/027.phpt:1.10 pecl/phar/tests/027.phpt:1.11
--- pecl/phar/tests/027.phpt:1.10 Sun Apr 13 23:46:14 2008
+++ pecl/phar/tests/027.phpt Sun Apr 13 23:48:45 2008
@@ -46,6 +46,9 @@
var_dump(fseek($a, 0, SEEK_END), ftell($a));
var_dump(fseek($a, -1), ftell($a));
var_dump(fseek($a, 1), ftell($a));
+echo "fwrite on dir handle\n";
+var_dump(fwrite($a, 'hi'));
+closedir($a);
?>
===DONE===
--CLEAN--
@@ -72,4 +75,6 @@
int(4)
int(0)
int(1)
+fwrite on dir handle
+int(0)
===DONE===