Lines Matching refs:matches
80 if (preg_match('~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches)) {
81 $userpass = explode(':', base64_decode($matches[1]));
754 $matches = preg_grep('/^' . preg_quote($id, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
755 if (count($matches)) {
756 foreach ($matches as $match) {
784 $matches = preg_grep('/^' . preg_quote($path, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
785 if (count($matches)) {
786 foreach ($matches as $match) {
869 * callback encodes the matches
871 * @param array $matches first complete match, next matching subpatterms
874 function auth_nameencode_callback($matches)
876 return '%' . dechex(ord(substr($matches[1], -1)));