Searched refs:matches (Results 1 - 17 of 17) sorted by relevance

/PHP_5_3/ext/pdo_mysql/
H A Dget_error_codes.php8 if (ereg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $matches)) {
9 $codes[$matches[1]] = $matches[2];
10 $maxlen = max($maxlen, strlen($matches[1]));
/PHP_5_3/ext/phar/phar/
H A Dpharcommand.inc237 $matches = NULL;
238 if (preg_match(",^php[ \t]+([^ \t].*[\\\\/]PHP[\\\\/]Archive\.php)$,", $ent, $matches)) {
239 $sub = $matches[1];
/PHP_5_3/ext/soap/interop/
H A Dclient_round2_params.php44 preg_match('/(.*)\((.*)\)/',$methodname,$matches);
46 $this->method_name = $matches[1];
/PHP_5_3/ext/spl/examples/
H A Dfindfile.inc48 /** @return whether the current file matches the given filename
H A Dregexfindfile.inc32 /** @return whether the current filename matches the regular expression.
/PHP_5_3/ext/spl/internal/
H A Dregexiterator.inc27 const ALL_MATCHES = 2; /**< Mode: Return all matches (if any) */
70 $matches = array();
78 return preg_match($this->regex, $subject, $matches, $this->preg_flags);
/PHP_5_3/ext/standard/tests/http/
H A Dserver.inc63 if (preg_match(b'#^Content-Length\s*:\s*([[:digit:]]+)\s*$#i', $line, $matches)) {
64 $content_length = (int) $matches[1];
/PHP_5_3/
H A Drun-tests.php536 $matches = array(); variable
537 if (preg_match('/^#.*\[(.*)\]\:\s+(.*)$/', $test, $matches)) {
538 $redir_tests[] = array($matches[1], $matches[2]);
H A Dserver-tests.php1081 // matches directory depth from the base path
1167 if ($k == 'POST' && preg_match('/^(.*?)\r?\n$/Ds',$v,$matches)) {
1168 $section_text[$k]=$matches[1];
/PHP_5_3/scripts/dev/
H A Dcheck_parameters.php203 if (preg_match_all('/zend_parse_parameters(?:_ex\s*\([^,]+,[^,]+|\s*\([^,]+),\s*"([^"]*)"\s*,\s*([^{;]*)/S', $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
207 foreach ($matches as $m) {
/PHP_5_3/ext/ftp/tests/
H A Dserver.inc303 } elseif (preg_match('/^MDTM ([\w\h]+)/', $buf, $matches)) {
304 switch ($matches [1]){
318 fputs($s, "550 No file named \"{$matches [1]}\"\r\n");
321 }elseif (preg_match('/^RETR ([\w\h]+)/', $buf, $matches)) {
330 switch($matches[1]){
362 fputs($s, "550 {$matches[1]}: No such file or directory \r\n");
369 }elseif (preg_match('/^PASV/', $buf, $matches)) {
377 } elseif (preg_match('/^SITE EXEC/', $buf, $matches)) {
380 } elseif (preg_match('/^RMD/', $buf, $matches)) {
383 } elseif (preg_match('/^SITE CHMOD/', $buf, $matches)) {
[all...]
/PHP_5_3/ext/mbstring/oniguruma/
H A Donigposix.h155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, int options));
/PHP_5_3/ext/mysqli/tests/
H A Dconnect.inc40 if (preg_match('@Revision:\s+(\d+)\s*\$@ism', mysqli_get_client_info(), $matches)) {
43 } else if (preg_match('@^mysqlnd (\d+)\.(\d+)\.(\d+).*@ism', mysqli_get_client_info(), $matches)) {
45 $MYSQLND_VERSION = (int)$matches[1] * 10000 + (int)$matches[2] * 100 + (int)$matches[3];
46 } else if (preg_match('@^mysqlnd/PHP 6.0.0-dev@ism', mysqli_get_client_info(), $matches)) {
/PHP_5_3/ext/filter/
H A Dlogical_filters.c416 int matches; local
431 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
434 if (matches < 0) {
531 int matches; local
543 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
546 if (matches < 0) {
/PHP_5_3/ext/readline/
H A Dreadline.c463 char **matches = NULL; local
473 matches = rl_completion_matches(text,_readline_command_generator);
475 matches = malloc(sizeof(char *) * 2);
476 if (!matches) {
479 matches[0] = strdup("");
480 matches[1] = '\0';
490 return matches;
/PHP_5_3/Zend/
H A Dzend_vm_gen.php440 if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/me', $code, $matches, PREG_SET_ORDER)) {
442 foreach ($matches as $match) {
449 foreach ($matches as $match) {
/PHP_5_3/ext/zip/
H A Dphp_zip.c573 /* Some glob implementation simply return no data if no matches
588 /* now catch the FreeBSD style of "no matches" */
687 int matches; local
717 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3);
719 if (matches < 0) {

Completed in 46 milliseconds