Visitar URL original
Error in running leproxy-0.2.2.php downloaded from release page · Issue #88 · leproxy/leproxy · GitHub
Skip to content

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

Open

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

Activity

  1. added a commit that references this issue on Jul 13, 2023
    a0c1c1e
  2. SimonFrings commented on Nov 20, 2023

    @SimonFrings
    Contributor

    Hey @mahdyaslami, thanks for bringing this up 👍

    I also ran some tests and it seems like we need to do some adjustments in order to make this project compatible with PHP 8.1+. We also have to do a bunch of test suite improvements, as we're currently using an old PHPUnit version to run the tests on latest PHP. I opened a ticket (#90) for this so we can track the progress status to support the latest PHP versions.

    Our current priorities are focused on ReactPHP's MySQL connection pool, as discussed in friends-of-reactphp/mysql#175. Afterward, we plan to shift our attention to Framework X. If you need this urgently, you can always reach out to us or help us prioritizing this by becoming a sponsor ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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