Home
last modified time | relevance | path

Searched refs:subject (Results 1 – 25 of 144) sorted by relevance

123456

/PHP-5.6/ext/standard/tests/strings/
H A Dbug39621.phpt7 $subject = "qxxx\0xxxxxxxx";
10 $result = str_replace ( $search, $replace, $subject );
15 $subject = "qxxx\0xxxxxxxx";
18 $result = str_ireplace ( $search, $replace, $subject );
23 $subject = "qxxx\0xxxxxxxx";
26 $result = str_replace ( $search, $replace, $subject );
31 $subject = "qxXx\0xxxxxxxx";
34 $result = str_ireplace ( $search, $replace, $subject );
/PHP-5.6/scripts/dev/generate-phpt/src/testcase/
H A DgtErrorTestCaseMethod.php20 $this->subject = $method;
43 …$this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getNam…
49 $list = $this->subject->getExtraArgumentList();
51 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
53 $list = $this->subject->getShortArgumentList();
55 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseFunction.php19 $this->subject = $function;
41 …$this->testCase[] = "Test function ".$this->subject->getName()."() by calling it more than or less…
46 $list = $this->subject->getExtraArgumentList();
48 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
50 $list = $this->subject->getShortArgumentList();
52 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtVariationTestCaseMethod.php8 protected $subject; variable in gtVariationTestCaseMethod
25 $this->subject = $method;
50 …$this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getNam…
56 $argumentList = explode(",", $this->subject->getMaximumArgumentList());
61 $this->testCase[] = " var_dump(\$class->".$this->subject->getName()."( ".$list." ) );";
H A DgtBasicTestCaseMethod.php18 $this->subject = $method;
37 …$this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getNa…
42 $lists = $this->subject->getValidArgumentLists();
45 $this->testCase[] = "var_dump( \$class->".$this->subject->getName()."( ".$list." ) );";
H A DgtBasicTestCaseFunction.php20 $this->subject = $function;
42 …$this->testCase[] = "Test function ".$this->subject->getName()."() by calling it with its expected…
51 $lists = $this->subject->getValidArgumentLists();
56 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtVariationTestCaseFunction.php23 $this->subject = $function;
46 …$this->testCase[] = "Test function ".$this->subject->getName()."() by substituting argument ".$thi…
54 $argumentList = explode(",", $this->subject->getMaximumArgumentList());
59 $this->testCase[] = " var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtTestCase.php14 protected $subject; variable in gtTestCase
111 $conStatements = $this->subject->getConstructorInitStatements();
123 $constructorList = $this->subject->getConstructorArgumentList();
124 $this->testCase[] = "\$class = new ".$this->subject->getClassName()."( ".$constructorList." );";
134 $statements = $this->subject->getInitialisationStatements();
/PHP-5.6/ext/pcre/pcrelib/
H A Dpcredemo.c51 char *subject; in main() local
90 subject = argv[i+1]; in main()
91 subject_length = (int)strlen(subject); in main()
124 subject, /* the subject string */ in main()
171 char *substring_start = subject + ovector[2*i]; in main()
221 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]); in main()
316 subject, /* the subject string */ in main()
342 subject[start_offset] == '\r' && in main()
343 subject[start_offset + 1] == '\n') in main()
349 if ((subject[ovector[1]] & 0xc0) != 0x80) break; in main()
[all …]
H A Dpcre_get.c335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, in pcre_copy_substring() argument
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
390 pcre_copy_named_substring(const pcre *code, const char *subject, in pcre_copy_named_substring() argument
395 pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_copy_named_substring()
400 pcre32_copy_named_substring(const pcre32 *code, PCRE_SPTR32 subject, in pcre_copy_named_substring()
477 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list()
544 pcre_get_substring(const char *subject, int *ovector, int stringcount, in pcre_get_substring() argument
564 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_get_substring()
607 pcre_get_named_substring(const pcre *code, const char *subject, in pcre_get_named_substring() argument
612 pcre16_get_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_get_named_substring()
[all …]
/PHP-5.6/ext/pcre/tests/
H A Dbug70345.phpt6 $subject = "aaaaxyzaaaa";
8 $v = preg_split($regex, $subject);
12 $subject = "aaaaxyzaaaa";
13 preg_match($regex, $subject, $matches);
H A Dbug70232.phpt12 $subject = "123 a123 1234567 b123 123";
13 preg_match_all($pattern, $subject, $matches);
15 var_dump(preg_replace($pattern, "*", $subject));
16 var_dump(preg_split($pattern, $subject));
H A Dpreg_match_all_error3.phpt6 * proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int of…
14 $subject = 'string';
15 var_dump(preg_match_all($regex, $subject, 'test'));
H A Dpreg_replace_error2.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
16 $subject = 'test';
19 var_dump(preg_replace($regex, $value, $subject));
22 var_dump(preg_replace($regex, $value, $subject));
/PHP-5.6/ext/pcre/
H A Dphp_pcre.c1341 subject_value = estrndup(Z_STRVAL_PP(subject), Z_STRLEN_PP(subject)); in php_replace_in_subject()
1415 **subject, in preg_replace_impl() local
1453 SEPARATE_ZVAL(subject); in preg_replace_impl()
1618 last_match = subject; in php_pcre_split_impl()
1893 zval subject = **entry; in php_pcre_grep_impl() local
1896 zval_copy_ctor(&subject); in php_pcre_grep_impl()
1902 Z_STRLEN(subject), 0, in php_pcre_grep_impl()
1935 zval_dtor(&subject); in php_pcre_grep_impl()
1963 ZEND_ARG_INFO(0, subject)
1971 ZEND_ARG_INFO(0, subject)
[all …]
H A Dphp_pcre.h36 PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *rep…
57 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *ret…
60 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *ret…
63 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *ret…
/PHP-5.6/ext/standard/tests/mail/
H A Dmail_error.phpt5 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
17 $subject = 'string_val';
22 var_dump( mail($to, $subject, $message, $additional_headers, $additional_parameters, $extra_arg) );
27 $subject = 'string_val';
28 var_dump( mail($to, $subject) );
H A Dmail_basic6.phpt24 $subject = 'Test Subject';
32 var_dump( mail($to, $subject, $message, $additional_headers) );
42 var_dump( mail($to, $subject, $message, $additional_headers) );
53 var_dump( mail($to, $subject, $message, $additional_headers) );
64 var_dump( mail($to, $subject, $message, $additional_headers) );
74 var_dump( mail($to, $subject, $message, $additional_headers) );
84 var_dump( mail($to, $subject, $message, $additional_headers) );
94 var_dump( mail($to, $subject, $message, $additional_headers) );
104 var_dump( mail($to, $subject, $message, $additional_headers) );
114 var_dump( mail($to, $subject, $message, $additional_headers) );
[all …]
H A Dmail_basic3.phpt12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
23 $subject = 'Test Subject';
28 var_dump( mail($to, $subject, $message) );
H A Dmail_basic4.phpt12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
23 $subject = 'Test Subject';
29 var_dump( mail($to, $subject, $message) );
H A Dmail_basic5.phpt12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
23 $subject = 'Test Subject';
27 var_dump( mail($to, $subject, $message) );
H A Dmail_variation1.phpt12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
22 $subject = 'Test Subject';
24 var_dump( mail($to, $subject, $message) );
H A Dmail_basic.phpt13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, …
24 $subject = 'Test Subject';
32 var_dump( mail($to, $subject, $message, $additional_headers) );
38 var_dump( mail($to, $subject, $message) );
/PHP-5.6/ext/ldap/tests/
H A Dldap_escape_all.phpt8 $subject = 'foo=bar(baz)*';
10 var_dump(ldap_escape($subject));
H A Dldap_escape_dn.phpt8 $subject = 'foo=bar(baz)*';
10 var_dump(ldap_escape($subject, null, LDAP_ESCAPE_DN));

Completed in 30 milliseconds

123456