Skip to content

Error in running leproxy-0.2.2.php downloaded from release page #88

@mahdiaslami

Description

@mahdiaslami

Hi,

I have got PHP Parse error: syntax error, unexpected namespaced name "instanceof\Closure" in /home/user/Downloads/leproxy-0.2.2.php on line 160 error when running leproxy-0.2.2.php file with PHP.

I downloaded this file from GitHub release page.

$ php -v
PHP 8.1.9 (cli) (built: Aug 15 2022 09:39:52) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.9, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.9, Copyright (c), by Zend Technologies
    with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions