Lines Matching defs:matches
85 if (preg_match('~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches)) {
86 $userpass = explode(':', base64_decode($matches[1]));
778 $matches = preg_grep('/^' . preg_quote($id, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
779 if (count($matches)) {
780 foreach ($matches as $match) {
808 $matches = preg_grep('/^' . preg_quote($path, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
809 if (count($matches)) {
810 foreach ($matches as $match) {
893 * callback encodes the matches
895 * @param array $matches first complete match, next matching subpatterms
898 function auth_nameencode_callback($matches)
900 return '%' . dechex(ord(substr($matches[1], -1)));