/PHP-8.0/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-8.0/ext/pcre/ |
H A D | php_pcre.stub.php | 6 function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset… argument 9 function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $of… argument 12 function preg_replace(string|array $pattern, string|array $replacement, string|array $subject, int … argument 15 function preg_filter(string|array $pattern, string|array $replacement, string|array $subject, int $… argument 18 function preg_replace_callback(string|array $pattern, callable $callback, string|array $subject, in… argument 21 function preg_replace_callback_array(array $pattern, string|array $subject, int $limit = -1, &$coun… argument 23 function preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0): array|false… argument
|
H A D | php_pcre.c | 1142 Z_PARAM_STR(subject) in php_do_pcre_match() 1700 match = subject + offsets[0]; in php_pcre_replace_impl() 1789 piece = subject + start_offset; in php_pcre_replace_impl() 1954 match = subject + offsets[0]; in php_pcre_replace_func_impl() 1998 piece = subject + start_offset; in php_pcre_replace_func_impl() 2176 result = php_pcre_replace(regex_str, subject, ZSTR_VAL(subject), ZSTR_LEN(subject), in php_replace_in_subject() 2204 zend_string_addref(subject); in php_replace_in_subject_func() 2217 zend_string_release(subject); in php_replace_in_subject_func() 2218 subject = result; in php_replace_in_subject_func() 2224 return subject; in php_replace_in_subject_func() [all …]
|
H A D | php_pcre_arginfo.h | 6 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0) 17 ZEND_ARG_TYPE_MASK(0, subject, MAY_BE_STRING|MAY_BE_ARRAY, NULL) 27 ZEND_ARG_TYPE_MASK(0, subject, MAY_BE_STRING|MAY_BE_ARRAY, NULL) 35 ZEND_ARG_TYPE_MASK(0, subject, MAY_BE_STRING|MAY_BE_ARRAY, NULL) 43 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0)
|
/PHP-8.0/ext/standard/tests/mail/ |
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 | bug72964.phpt | 16 function find_and_delete_message($username, $subject) { 33 if ($info->subject === $subject) { 47 $subject = bin2hex(random_bytes(16)); 53 $res = mail($to, $subject, $message, $headers); 61 if (!find_and_delete_message("$user@$domain", $subject)) {
|
H A D | bug80706.phpt | 16 function find_and_delete_message($username, $subject) { 33 if ($info->subject === $subject) { 50 $subject = bin2hex(random_bytes(16)); 56 $res = mail($to, $subject, $message, $headers); 64 if (!find_and_delete_message("$user@$domain", $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) );
|
H A D | mail_variation1.phpt | 16 $subject = 'Test Subject'; 18 var_dump( mail($to, $subject, $message) );
|
/PHP-8.0/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));
|
H A D | preg_match_error2.phpt | 7 * Testing how preg_match reacts to being passed the wrong type of subject argument 35 preg_match(): Argument #2 ($subject) must be of type string, array given 36 preg_match(): Argument #2 ($subject) must be of type string, stdClass given
|
H A D | bug72463.phpt | 14 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", ""); 15 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
/PHP-8.0/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_match.c | 85 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match() argument 92 (void)subject; in pcre2_jit_match() 124 arguments.str = subject + start_offset; in pcre2_jit_match() 125 arguments.begin = subject; in pcre2_jit_match() 126 arguments.end = subject + length; in pcre2_jit_match() 128 arguments.startchar_ptr = subject; in pcre2_jit_match() 173 match_data->subject = (rc >= 0 || rc == PCRE2_ERROR_PARTIAL)? subject : NULL; in pcre2_jit_match() 175 match_data->startchar = arguments.startchar_ptr - subject; in pcre2_jit_match()
|
/PHP-8.0/ext/ldap/tests/ |
H A D | ldap_escape_all.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject));
|
H A D | ldap_escape_dn.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, null, LDAP_ESCAPE_DN));
|
H A D | ldap_escape_filter.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, null, LDAP_ESCAPE_FILTER));
|
H A D | ldap_escape_both.phpt | 8 $subject = 'foo=bar(baz)*'; 10 var_dump(ldap_escape($subject, null, 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, null, LDAP_ESCAPE_DN));
|
/PHP-8.0/ext/iconv/tests/ |
H A D | gh7980.phpt | 9 $subject = '=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <jdupont@example.fr>'; 10 var_dump(iconv_mime_decode($subject, ICONV_MIME_DECODE_STRICT, 'UTF-8'));
|
H A D | bug53891.phpt | 16 var_dump(iconv_mime_encode('subject', "d obeybiubrsfqllpdtpge…", $preferences)); 19 string(54) "subject: =?utf-8?Q?d=20obeybiubrsfqllpdtpge=E2=80=A6?="
|
/PHP-8.0/sapi/cli/tests/ |
H A D | 006.phpt | 72 Parameter #1 [ <required> string $subject ] 83 Parameter #1 [ <required> string $subject ] 95 Parameter #2 [ <required> array|string $subject ] 106 Parameter #2 [ <required> array|string $subject ] 117 Parameter #2 [ <required> array|string $subject ] 128 Parameter #1 [ <required> array|string $subject ] 139 Parameter #1 [ <required> string $subject ]
|