Lines Matching defs:matches
80 if (preg_match('~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches)) {
81 $userpass = explode(':', base64_decode($matches[1]));
766 $matches = preg_grep('/^' . preg_quote($id, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
767 if (count($matches)) {
768 foreach ($matches as $match) {
796 $matches = preg_grep('/^' . preg_quote($path, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
797 if (count($matches)) {
798 foreach ($matches as $match) {
881 * callback encodes the matches
883 * @param array $matches first complete match, next matching subpatterms
886 function auth_nameencode_callback($matches)
888 return '%' . dechex(ord(substr($matches[1], -1)));