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.
This commit is contained in:
Adam Harvey 2010-09-23 04:41:14 +00:00
parent 1ac15b2f8e
commit a89b97102e

View File

@ -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)
{