tony2001 Mon Aug 13 12:46:41 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip/tests oo_properties.phpt
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/tests/oo_properties.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/zip/tests/oo_properties.phpt
diff -u php-src/ext/zip/tests/oo_properties.phpt:1.1.2.3
php-src/ext/zip/tests/oo_properties.phpt:1.1.2.4
--- php-src/ext/zip/tests/oo_properties.phpt:1.1.2.3 Mon Aug 6 23:35:46 2007
+++ php-src/ext/zip/tests/oo_properties.phpt Mon Aug 13 12:46:40 2007
@@ -2,7 +2,7 @@
ziparchive::properties isset()/empty() checks
--SKIPIF--
<?php
-/* $Id: oo_properties.phpt,v 1.1.2.3 2007/08/06 23:35:46 bjori Exp $ */
+/* $Id: oo_properties.phpt,v 1.1.2.4 2007/08/13 12:46:40 tony2001 Exp $ */
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
@@ -30,6 +30,7 @@
printf("zip->filename (%d):\n\tempty(): %d\n\tisset(): %d\n",
strlen($zip->filename), empty($zip->filename), isset($zip->filename));
printf("zip->comment (%d):\n\tempty(): %d\n\tisset(): %d\n",
strlen($zip->comment), empty($zip->comment), isset($zip->comment));
+unset($zip); //close the file before unlinking
@unlink($file);
?>
--EXPECTF--
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php