/php-src/ext/standard/tests/strings/ |
H A D | bug39621.phpt | 7 $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-src/ext/standard/tests/mail/ |
H A D | mail_basic_win.phpt | 17 'premise' => function ($from, $to, $subject, $message) { 19 return mail($to, $subject, $message); 24 'premise' => function ($from, $to, $subject, $message) { 27 return mail($to, $subject, $message, $headers); 32 'premise' => function ($from, $to, $subject, $message) { 35 return mail($to, $subject, $message, $headers); 60 $res = $premise($from, $to, $subject, $message); 69 $mail = $mailBox->getMailsBySubject($subject); 72 if ($mail->isAsExpected($from, $to, $subject, $message)) { 81 $subject = "{$i}: Basic PHPT test for mail() function"; [all …]
|
H A D | mail_basic7.phpt | 16 $subject = 'Test Subject'; 33 var_dump(mail($to, $subject, $message, $additional_headers)); 41 $subject = 'Test Subject'; 51 mail($to, $subject, $message, ['from' => array('foo2')]); 69 mail($to, $subject, $message, ['to' => array('foo5')]); 75 mail($to, $subject, $message, ['bcc' => array('foo6')]); 96 $subject = 'Test Subject'; 112 mail($to, $subject, $message, ['foo3' => array(123)]); 130 mail($to, $subject, $message, ['foo6' => array(NULL)]); 145 $subject = 'Test Subject'; [all …]
|
H A D | bug80706.phpt | 21 $subject = 'mail_bug80706'; 28 $res = mail($to, $subject, $message, $headers); 38 $mail = $mailBox->getMailsBySubject($subject); 41 if ($mail->isAsExpected($from, $to, $subject, $message)) { 53 $subject = 'mail_bug80706'; 56 $mailBox->deleteMailsBySubject($subject);
|
H A D | bug72964.phpt | 22 $subject = 'mail_bug72964'; 28 $res = mail($to, $subject, $message, $headers); 39 $mail = $mailBox->getMailsBySubject($subject); 42 if ($mail->isAsExpected($from, $to, $subject, $message)) { 51 $subject = 'mail_bug72964'; 54 $mailBox->deleteMailsBySubject($subject);
|
H A D | bug80751.phpt | 27 $subject = 'mail_bug80751'; 34 $res = mail($toLine, $subject, $message, $headers); 44 $mail = $mailBox->getMailsBySubject($subject); 47 if ($mail->isAsExpected($fromLine, $toLine, $subject, $message)) { 63 $subject = 'mail_bug80751'; 66 $mailBox->deleteMailsBySubject($subject);
|
H A D | mail_variation_win.phpt | 48 $subject = "{$index}: Basic PHPT test for mail() function"; 51 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 55 $res = mail($to, $subject, $message); 62 $mail = $mailBox->getMailsBySubject($subject); 74 $subject = "{$i}: Basic PHPT test for mail() function"; 76 $mailBox->deleteMailsBySubject($subject);
|
H A D | mail_basic6.phpt | 18 $subject = 'Test Subject'; 26 var_dump( mail($to, $subject, $message, $additional_headers) ); 36 var_dump( mail($to, $subject, $message, $additional_headers) ); 47 var_dump( mail($to, $subject, $message, $additional_headers) ); 58 var_dump( mail($to, $subject, $message, $additional_headers) ); 68 var_dump( mail($to, $subject, $message, $additional_headers) ); 78 var_dump( mail($to, $subject, $message, $additional_headers) ); 88 var_dump( mail($to, $subject, $message, $additional_headers) ); 98 var_dump( mail($to, $subject, $message, $additional_headers) ); 108 var_dump( mail($to, $subject, $message, $additional_headers) ); [all …]
|
H A D | mail_basic.phpt | 13 $subject = 'Test Subject'; 21 var_dump( mail($to, $subject, $message, $additional_headers) ); 27 var_dump( mail($to, $subject, $message) );
|
/php-src/ext/pcre/ |
H A D | php_pcre.stub.php | 105 function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset… argument 108 function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $of… argument 115 function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int … argument 121 function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $… argument 127 function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, in… argument 130 function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$coun… argument 136 function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false… argument
|
H A D | php_pcre.c | 1115 Z_PARAM_STR(subject) in php_do_pcre_match() 1481 zend_string *regex, *subject; variable 1696 match = subject + offsets[0]; in php_pcre_replace_impl() 1786 piece = subject + start_offset; in php_pcre_replace_impl() 1937 match = subject + offsets[0]; in php_pcre_replace_func_impl() 2155 result = php_pcre_replace(regex_str, subject, ZSTR_VAL(subject), ZSTR_LEN(subject), in php_replace_in_subject() 2183 zend_string_addref(subject); in php_replace_in_subject_func() 2196 zend_string_release(subject); in php_replace_in_subject_func() 2197 subject = result; in php_replace_in_subject_func() 2203 return subject; in php_replace_in_subject_func() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug70345.phpt | 6 $subject = "aaaaxyzaaaa"; 8 var_dump(preg_split($regex, $subject)); 11 $subject = "aaaaxyzaaaa"; 12 preg_match($regex, $subject, $matches);
|
H A D | bug70232.phpt | 6 $subject = "123 a123 1234567 b123 123"; 7 preg_match_all($pattern, $subject, $matches); 9 var_dump(preg_replace($pattern, "*", $subject)); 10 var_dump(preg_split($pattern, $subject));
|
H A D | preg_filter.phpt | 6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4'); 10 var_dump(preg_filter($pattern, $replace, $subject));
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_match.c | 91 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match() argument 98 (void)subject; in pcre2_jit_match() 130 arguments.str = subject + start_offset; in pcre2_jit_match() 131 arguments.begin = subject; in pcre2_jit_match() 132 arguments.end = subject + length; in pcre2_jit_match() 134 arguments.startchar_ptr = subject; in pcre2_jit_match() 179 match_data->subject = (rc >= 0 || rc == PCRE2_ERROR_PARTIAL)? subject : NULL; in pcre2_jit_match() 182 match_data->startchar = arguments.startchar_ptr - subject; in pcre2_jit_match()
|
H A D | pcre2_substitute.c | 326 scb.input = subject; in pcre2_substitute() 332 if (subject == NULL) in pcre2_substitute() 335 subject = (PCRE2_SPTR)""; in pcre2_substitute() 341 length = subject? PRIV(strlen)(subject) : 0; in pcre2_substitute() 373 if (!replacement_only) CHECKMEMCPY(subject, start_offset); in pcre2_substitute() 414 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute() 418 subject[start_offset] == CHAR_LF) in pcre2_substitute() 430 (subject[start_offset] & 0xfc00) == 0xdc00) in pcre2_substitute() 773 subptr = subject + ovector[group*2]; in pcre2_substitute() 774 subptrend = subject + ovector[group*2 + 1]; in pcre2_substitute() [all …]
|
/php-src/ext/ldap/tests/ |
H A D | ldap_escape_dn.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, '', LDAP_ESCAPE_DN));
|
H A D | ldap_escape_all.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject));
|
H A D | ldap_escape_filter.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, '', LDAP_ESCAPE_FILTER));
|
H A D | ldap_escape_both.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, '', LDAP_ESCAPE_DN | LDAP_ESCAPE_FILTER));
|
H A D | ldap_escape_ignore.phpt | 8 $subject = 'foo=bar(baz)*'; 11 var_dump(ldap_escape($subject, $ignore));
|
H A D | bug72021.phpt | 9 $subject = " Joe,= \rSmith "; 11 var_dump(ldap_escape($subject, '', LDAP_ESCAPE_DN));
|
/php-src/ext/iconv/tests/ |
H A D | gh7980.phpt | 7 $subject = '=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <jdupont@example.fr>'; 8 var_dump(iconv_mime_decode($subject, ICONV_MIME_DECODE_STRICT, 'UTF-8'));
|
H A D | bug53891.phpt | 14 var_dump(iconv_mime_encode('subject', "d obeybiubrsfqllpdtpge…", $preferences)); 17 string(54) "subject: =?utf-8?Q?d=20obeybiubrsfqllpdtpge=E2=80=A6?="
|
/php-src/ext/zend_test/tests/ |
H A D | gh14741.phpt | 7 $subject = new \ZendTest\Iterators\TraversableTest(); 8 $it = $subject->getIterator();
|