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

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/ext/soap/interop/
H A Dclient_round2_params.php44 preg_match('/(.*)\((.*)\)/',$methodname,$matches);
46 $this->method_name = $matches[1];
/PHP_TRUNK/
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];
H A Drun-tests.php541 $matches = array(); variable
542 if (preg_match('/^#.*\[(.*)\]\:\s+(.*)$/', $test, $matches)) {
543 $redir_tests[] = array($matches[1], $matches[2]);
/PHP_TRUNK/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]){
379 fputs($s, "550 {$matches[1]}: No such file or directory \r\n");
386 }elseif (preg_match('/^PASV/', $buf, $matches)) {
394 } elseif (preg_match('/^SITE EXEC/', $buf, $matches)) {
397 } elseif (preg_match('/^RMD/', $buf, $matches)) {
400 } elseif (preg_match('/^SITE CHMOD/', $buf, $matches)) {
[all...]
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c424 int matches; local
439 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
442 if (matches < 0) {
535 int matches; local
547 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
550 if (matches < 0) {
/PHP_TRUNK/ext/readline/
H A Dreadline.c494 char **matches = NULL; local
504 matches = rl_completion_matches(text,_readline_command_generator);
506 matches = malloc(sizeof(char *) * 2);
507 if (!matches) {
510 matches[0] = strdup("");
511 matches[1] = '\0';
521 return matches;
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php424 function($matches) use ($spec, $prefix, $op1, $op2) {
425 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
427 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HANDLER")) == 0) {
428 return "return " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)";
429 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
430 return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(" . $matches[2]. ", ZEND_OPCODE_HANDLER_ARGS_PASSTHRU);";
432 return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)";
445 function($matches) use ($spec, $prefix, $op1, $op2) {
446 if (strncasecmp($matches[
[all...]
/PHP_TRUNK/ext/standard/html_tables/
H A Dhtml_table_gen.php190 if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})/i", $l, $matches))
191 $map[] = array($matches[1], $matches[2]);
333 if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})\s+#\s*(.*)$/i", $l, $matches))
334 $map[] = array($matches[1], $matches[2], rtrim($matches[3]));
429 if (preg_match('/^(#?[a-z0-9]+)\s+([a-f0-9]+) ([a-f0-9]+)/i', $l, $matches)) {
430 //echo sprintf("\t{\"%-21s 1, 0x%05d},\n", $matches[1].",", $matches[
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c575 /* Some glob implementation simply return no data if no matches
590 /* now catch the FreeBSD style of "no matches" */
689 int matches; local
719 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3);
721 if (matches < 0) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c646 ulong matches = 0L; local
653 matched[matches] = command;
654 matches++;
660 if (matches < 3) {
665 matched[matches] = command;
666 matches++;
681 switch (matches) {
705 while (it < matches) {
709 ((it+1) < matches ? sizeof(", ")-1 : 0));
713 ((it+1) < matches
[all...]

Completed in 41 milliseconds