/PHP-7.2/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-7.2/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtErrorTestCaseMethod.php | 20 $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 D | gtErrorTestCaseFunction.php | 19 $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 D | gtVariationTestCaseMethod.php | 8 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 D | gtBasicTestCaseMethod.php | 18 $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 D | gtBasicTestCaseFunction.php | 20 $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 D | gtVariationTestCaseFunction.php | 23 $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 D | gtTestCase.php | 14 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-7.2/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 51 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 D | pcre_get.c | 339 pcre_copy_substring(const char *subject, int *ovector, int stringcount, in pcre_copy_substring() argument 357 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring() 394 pcre_copy_named_substring(const pcre *code, const char *subject, in pcre_copy_named_substring() argument 399 pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_copy_named_substring() 404 pcre32_copy_named_substring(const pcre32 *code, PCRE_SPTR32 subject, in pcre_copy_named_substring() 484 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list() 551 pcre_get_substring(const char *subject, int *ovector, int stringcount, in pcre_get_substring() argument 571 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_get_substring() 614 pcre_get_named_substring(const pcre *code, const char *subject, in pcre_get_named_substring() argument 619 pcre16_get_named_substring(const pcre16 *code, PCRE_SPTR16 subject, in pcre_get_named_substring() [all …]
|
/PHP-7.2/ext/pcre/tests/ |
H A D | bug70345.phpt | 6 $subject = "aaaaxyzaaaa"; 8 $v = preg_split($regex, $subject); 12 $subject = "aaaaxyzaaaa"; 13 preg_match($regex, $subject, $matches);
|
H A D | bug70232.phpt | 12 $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 D | preg_match_all_error3.phpt | 6 * 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 D | preg_replace_error2.phpt | 6 * 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-7.2/ext/pcre/ |
H A D | php_pcre.c | 725 Z_PARAM_STR(subject) in php_do_pcre_match() 743 php_pcre_match_impl(pce, ZSTR_VAL(subject), (int)ZSTR_LEN(subject), return_value, subpats, in php_do_pcre_match() 2001 Z_PARAM_ZVAL(subject) in preg_replace_common() 2023 subject, in preg_replace_common() 2098 Z_PARAM_ZVAL(subject) in PHP_FUNCTION() 2138 Z_PARAM_ZVAL(subject) in PHP_FUNCTION() 2170 subject = return_value; in PHP_FUNCTION() 2213 Z_PARAM_STR(subject) in PHP_FUNCTION() 2687 ZEND_ARG_INFO(0, subject) 2695 ZEND_ARG_INFO(0, subject) [all …]
|
/PHP-7.2/ext/standard/tests/mail/ |
H A D | mail_error.phpt | 5 /* 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 D | mail_basic6.phpt | 24 $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 D | mail_basic3.phpt | 12 /* 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 D | mail_basic4.phpt | 12 /* 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 D | mail_basic5.phpt | 12 /* 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 D | mail_variation1.phpt | 12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 22 $subject = 'Test Subject'; 24 var_dump( mail($to, $subject, $message) );
|
/PHP-7.2/sapi/cli/tests/ |
H A D | 006.phpt | 66 Parameter #1 [ <required> $subject ] 76 Parameter #1 [ <required> $subject ] 87 Parameter #2 [ <required> $subject ] 97 Parameter #2 [ <required> $subject ] 106 Parameter #1 [ <required> $subject ] 116 Parameter #2 [ <required> $subject ] 125 Parameter #1 [ <required> $subject ]
|
/PHP-7.2/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));
|