Bug #17988 [Ver->Csd]: Parse error: syntax error, unexpected T_STATIC
| From: | daniel dot oconnor at gmail dot com | Date: | Mon, 25 Oct 2010 01:24:52 +0000 |
| Subject: | Bug #17988 [Ver->Csd]: Parse error: syntax error, unexpected T_STATIC | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4965@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17988&edit=1
ID: 17988
Updated by: daniel.oconnor@gmail.com
Reported By: ronny dot adsetts at amazinginternet dot com
Summary: Parse error: syntax error, unexpected T_STATIC
-Status: Verified
+Status: Closed
Type: Bug
Package: Net_DNS
Operating System: Debian Linux
Package Version: 1.0.5
PHP Version: 4.4.4
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Status: Verified
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Completed: At revision: 304719
Previous Comments:
------------------------------------------------------------------------
[2010-10-25 01:22:01] doconnor
-Status: Open
+Status: Verified
static $parsedfiles = array();
Introduced in r302038 / Bug #17678
------------------------------------------------------------------------
[2010-10-24 16:56:21] ronnyadsetts
Correction to last, the problem is NOT there in v1.0.1. Bit of a brain
fart previously.
------------------------------------------------------------------------
[2010-10-24 16:53:51] ronnyadsetts
Description:
------------
With PHP4, Net/DNS/Resolver.php fails to lint with a parse error. The
error is NOT there in Net_DNS 1.0.3.
$ php -l Net/DNS/Resolver.php
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}' in Net/DNS/Resolver.php on line 241
Errors parsing Net/DNS/Resolver.php
Yell if you need more information.
NB. Yes, I know I should upgrade to a newer version of PHP. Not an
immediate option though unfortunately.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17988&edit=1