Bug #17988 [Opn->Ver]: Parse error: syntax error, unexpected T_STATIC

From: Date: Mon, 25 Oct 2010 01:22:02 +0000
Subject: Bug #17988 [Opn->Ver]: Parse error: syntax error, unexpected T_STATIC
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-4964@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: Open +Status: Verified Type: Bug Package: Net_DNS Operating System: Debian Linux Package Version: 1.0.5 PHP Version: 4.4.4 Roadmap Versions: New Comment: -Status: Open +Status: Verified static $parsedfiles = array(); Introduced in r302038 / Bug #17678 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.pear.bugs (#4964) next »