Skip to content

PHP 8.3 polyfill for ldap_exop_sync() is not compatible with PHP 7.2 #550

@jrfnl

Description

@jrfnl

The PHP 8.3 polyfills have a minimum supported PHP version of PHP 7.2.

The polyfill code for ldap_exop_sync():
https://github.com/symfony/polyfill-php83/blob/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9/bootstrap.php#L43

... passes the $controls parameter, while that parameter did not exist on the function in PHP 7.2.

This will (should) result in a Warning: ldap_exop() expects at most 3 parameters, 4 given.

Ref: https://www.php.net/manual/en/function.ldap-exop.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions