Le lundi 17 juillet 2017, 18:18:47 CEST Emmanuel Dreyfus a écrit :
Côme Chilliet come@opensides.be wrote:
I don't know what ldap_refresh is for and never used it.
it lets you change the expiry date of dynamic objects, cf slapo-dds man page.
Here is the previous implementation, I am not sure of what has to be changed. I understood TSRMLS_CC had to go for instance, but is thezre anything esle?
https://wiki.php.net/phpng-upgradinghttps://wiki.php.net/phpng-upgrading
zval** should be changed for zval* (and zval* for zval).
For consistency I would call the method ldap_exop_refresh and return newttl instead of using an out parameter.
Côme