Home
last modified time | relevance | path

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

123456

/PHP-5.4/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.4/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.4/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.4/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 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.4/ext/pcre/
H A Dphp_pcre.c1260 subject_value = estrndup(Z_STRVAL_PP(subject), Z_STRLEN_PP(subject)); in php_replace_in_subject()
1334 **subject, in preg_replace_impl() local
1371 SEPARATE_ZVAL(subject); in preg_replace_impl()
1531 last_match = subject; in php_pcre_split_impl()
1800 zval subject = **entry; in php_pcre_grep_impl() local
1803 zval_copy_ctor(&subject); in php_pcre_grep_impl()
1809 Z_STRLEN(subject), 0, in php_pcre_grep_impl()
1842 zval_dtor(&subject); in php_pcre_grep_impl()
1870 ZEND_ARG_INFO(0, subject)
1878 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.4/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_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) );
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) );
/PHP-5.4/sapi/cli/tests/
H A D006.phpt61 Parameter #1 [ <required> $subject ]
71 Parameter #1 [ <required> $subject ]
82 Parameter #2 [ <required> $subject ]
92 Parameter #2 [ <required> $subject ]
102 Parameter #2 [ <required> $subject ]
111 Parameter #1 [ <required> $subject ]
/PHP-5.4/ext/openssl/tests/
H A Dbug64802.phpt2 Bug #64802: openssl_x509_parse fails to parse subject properly in some cases
12 sort($r['subject']);
13 var_dump( $r['subject'] );
/PHP-5.4/ext/standard/
H A Dmail.c102 char *subject=NULL, *extra_cmd=NULL; in PHP_FUNCTION() local
109 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_le… in PHP_FUNCTION()
115 MAIL_ASCIIZ_CHECK(subject, subject_len); in PHP_FUNCTION()
148 subject_r = estrndup(subject, subject_len); in PHP_FUNCTION()
162 subject_r = subject; in PHP_FUNCTION()
187 if (subject_r != subject) { in PHP_FUNCTION()
264 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_D… in php_mail() argument
331 …if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, hdr, subject, to, message, NULL, NULL, NULL … in php_mail()
390 fprintf(sendmail, "Subject: %s\n", subject); in php_mail()

Completed in 58 milliseconds

123456