summaryrefslogtreecommitdiff
path: root/ext/phar/phar_object.c
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2010-09-23 04:41:14 +0000
committerAdam Harvey <aharvey@php.net>2010-09-23 04:41:14 +0000
commit107f9163227912fe93fb743cd6485b63c6c5e5be (patch)
tree43d446b97691147ad812e7dacddc5649412a39b7 /ext/phar/phar_object.c
parentf1d2e1453c4120a606dd0012665cefa3ff25d0fd (diff)
downloadphp-git-107f9163227912fe93fb743cd6485b63c6c5e5be.tar.gz
Fix up the vim folds in phar_object.c and add a note that the two prototypes
before Phar::__construct() are actually valid and not a mistake, per bug #52909.
Diffstat (limited to 'ext/phar/phar_object.c')
-rwxr-xr-xext/phar/phar_object.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c
index 8d7223ff87..1c1ad0c580 100755
--- a/ext/phar/phar_object.c
+++ b/ext/phar/phar_object.c
@@ -1251,8 +1251,12 @@ static spl_other_handler phar_spl_foreign_handler = {
/* {{{ proto void Phar::__construct(string fname [, int flags [, string alias]])
* Construct a Phar archive object
- * {{{ proto void PharData::__construct(string fname [[, int flags [, string alias]], int file format = Phar::TAR])
+ *
+ * proto void PharData::__construct(string fname [[, int flags [, string alias]], int file format = Phar::TAR])
* Construct a PharData archive object
+ *
+ * This function is used as the constructor for both the Phar and PharData
+ * classes, hence the two prototypes above.
*/
PHP_METHOD(Phar, __construct)
{