diff --git a/ext/phar/package.xml b/ext/phar/package.xml
index e6103cfacef..b97b6f4f1dd 100644
--- a/ext/phar/package.xml
+++ b/ext/phar/package.xml
@@ -7,9 +7,19 @@ http://pear.php.net/dtd/package-2.0.xsd">
pecl.php.net
allows running of complete applications out of .phar files (like Java .jar files)
-This is the extension version of PEAR's PHP_Archive package. Support for zlib and crc32 is achieved without any dependency other than the external libz. The zlib extension need not be enabled to take advantage of compressed .phar files.
+This is the extension version of PEAR's PHP_Archive package. Support for
+zlib, bz2 and crc32 is achieved without any dependency other than the external
+zlib or bz2 extension.
-.phar files should be created using pear.php.net/PHP_Archive
+.phar files can be read using the phar stream, or with the Phar class. If the SPL extension
+is available, a Phar object can be used as an array to iterate over a phar's contents
+or to read files directly from the phar.
+
+Phar archives can be created using the streams API or with the Phar class, if
+the phar.readonly ini variable is set to false.
+
+Full support for MD5 and SHA1 signatures is possible if the hash extension is present, and
+signatures can be required if the ini variable phar.require_hash is set to true.
Greg Beaver
@@ -26,7 +36,7 @@ This is the extension version of PEAR's PHP_Archive package. Support for zlib an
2007-01-27
0.9.0
- 0.9.0
+ 1.0.0
beta
@@ -37,7 +47,7 @@ This is the extension version of PEAR's PHP_Archive package. Support for zlib an
Initial release. This release is fully regression-tested
This extension is only compatible with phar archives compliant with PHP_Archive
- 0.9.0 (api Version 0.9.0)
+ 0.9.0 (api Version 1.0.0)
@@ -139,6 +149,24 @@ This is the extension version of PEAR's PHP_Archive package. Support for zlib an
1.4.3
+
+
+ hash
+ pecl.php.net
+ hash
+
+
+ bz2
+ pecl.php.net
+ bz2
+
+
+ zlib
+
+
+ spl
+
+
phar
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h
index 2ad55ace615..2b098bcc519 100755
--- a/ext/phar/phar_internal.h
+++ b/ext/phar/phar_internal.h
@@ -56,11 +56,11 @@
#define E_RECOVERABLE_ERROR E_ERROR
#endif
-#define PHAR_VERSION_STR "0.9.0"
+#define PHAR_VERSION_STR "1.0.0"
/* x.y.z maps to 0xyz0 */
-#define PHAR_API_VERSION 0x0900
+#define PHAR_API_VERSION 0x1000
#define PHAR_API_MIN_READ 0x0900
-#define PHAR_API_MAJORVERSION 0x0000
+#define PHAR_API_MAJORVERSION 0x1000
#define PHAR_API_MAJORVER_MASK 0xF000
#define PHAR_API_VER_MASK 0xFFF0
diff --git a/ext/phar/tests/001.phpt b/ext/phar/tests/001.phpt
index a6ea381458a..61e9de455ee 100644
--- a/ext/phar/tests/001.phpt
+++ b/ext/phar/tests/001.phpt
@@ -8,5 +8,5 @@ var_dump(Phar::apiVersion());
?>
===DONE===
--EXPECT--
-string(5) "0.9.0"
+string(5) "1.0.0"
===DONE===