--TEST-- ldap_parse_result() - Test the parsing of controls from result object --CREDITS-- Côme Chilliet --SKIPIF-- --FILE-- LDAP_CONTROL_PAGEDRESULTS, 'iscritical' => TRUE, 'value' => ['size' => 1]]]), ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs, $ctrls), $ctrls[LDAP_CONTROL_PAGEDRESULTS]['oid'], $ctrls[LDAP_CONTROL_PAGEDRESULTS]['value']['size'], bin2hex($ctrls[LDAP_CONTROL_PAGEDRESULTS]['value']['cookie']), ldap_get_entries($link, $result)['count'] ); ?> --CLEAN-- --EXPECTF-- resource(%d) of type (ldap result) bool(true) string(22) "1.2.840.113556.1.4.319" int(%d) string(%d) "%s" int(1)