FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17988&edit=1

ID: 17988
Updated by: ronny.adsetts@amazinginternet.com
Reported By: ronny dot adsetts at amazinginternet dot com
Summary: Parse error: syntax error, unexpected T_STATIC
Status: Open
Type: Bug
Package: Net_DNS
Operating System: Debian Linux
Package Version: 1.0.5
PHP Version: 4.4.4
Roadmap Versions:
New Comment:

Correction to last, the problem is NOT there in v1.0.1. Bit of a brain
fart previously.


Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Oct 25, 2010 at 12:21 am
    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.

    ------------------------------------------------------------------------
  • Daniel Oconnor at Oct 25, 2010 at 12:24 am
    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.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 24, '10 at 3:56p
activeOct 25, '10 at 12:24a
posts3
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 2 posts Ronny Adsetts: 1 post

People

Translate

site design / logo © 2021 Grokbase