| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes GH-6770
|
|\
| |
| |
| |
| | |
* Fix crash in LDAP search functions during argument validation
* Fix ldap_next_entry() parameter name
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes GH-6684
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This deprecates passing null to non-nullable scale arguments of
internal functions, with the eventual goal of making the behavior
consistent with userland functions, where null is never accepted
for non-nullable arguments.
This change is expected to cause quite a lot of fallout. In most
cases, calling code should be adjusted to avoid passing null. In
some cases, PHP should be adjusted to make some function arguments
nullable. I have already fixed a number of functions before landing
this, but feel free to file a bug if you encounter a function that
doesn't accept null, but probably should. (The rule of thumb for
this to be applicable is that the function must have special behavior
for 0 or "", which is distinct from the natural behavior of the
parameter.)
RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg
Closes GH-6475.
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
ldap_search() and friends can return array
|
| |
| |
| |
| |
| |
| |
| | |
See the description of <https://www.php.net/ldap-search>, and also the
implementation.
Closes GH-6620.
|
| |
| |
| |
| |
| |
| |
| | |
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.
Of course, zend_bool is retained as an alias.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.
The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.
Also drop the unused convert_to_explicit_type macros.
|
|
|
|
| |
Closes GH-6496.
|
|
|
|
|
|
|
|
|
| |
It appeared that not passing $controls and passing [] caused different
behaviors, when not passing it the controls set through ldap_set_option
would be used, when passing [] they would not.
So, this parameter is now nullable and defaults to null to have a
consistent behavior.
|
|
|
|
|
| |
This function actually has very different behavior depending on
whether $response_data is passed or not.
|
|
|
|
|
|
| |
Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
parameters for ldap request functions.
|
|
|
|
| |
Merging PR 6153
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
|
|
|
| |
Also fixed ldap_set_option places where $newvalue was still used
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
| |
|
|
|
|
| |
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
|
|
|
| |
Renamed all parameters to be consistent and concise
|
| |
|
|
|
|
| |
It has been unused and deprecated since PHP 5.2.4
|
|
|
|
|
| |
For mech, realm, authcid, authzid and props NULL means do not change
current server setting.
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes GH-6173
|
|
|
|
|
| |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
| |
|
|
|
|
| |
Settling on using quoted string
|
|
|
|
|
|
|
| |
They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.
Closes GH-6112
|
|
|
|
| |
Closes GH-6065
|
|
|
|
| |
We can add these types as a native type declaration to stubs as a side-effect. Closes GH-6068
|
| |
|
|
|
|
| |
Closes GH-5950
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* PHP-7.4:
Updated NEWS
fix memory leaks in ext/ldap/ldap.c
fix memory leaks in ext/ldap/ldap.c
|
| | |
|
| |
| |
| |
| | |
Closes GH-5590
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.4:
enable ext/ldap/tests on azure
fix some ext/ldap/tests
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix some memory bugs in ldap.c
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix some memory bugs in ldap.c
|