Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 8.0: Change call in ClassMapAutoloader to preserve original behaviour #74

Closed
wants to merge 1 commit into from

Commits on Mar 13, 2021

  1. Changed call in ClassMapAutoloader to preserve original behaviour

    In PHP8 the third param of array_walk ($userdata) is automatically
    passed by value thus calling a function that expects pass by reference
    as the third param is not possible.
    Simply changing the array_walk to a foreach loop allows us to fulfill
    the pass by reference signature.
    Alexander Wozniak authored and glensc committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    7ccf309 View commit details
    Browse the repository at this point in the history