/PHP-5.6/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-5.6/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-5.6/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 | 335 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 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-5.6/ext/pcre/ |
H A D | php_pcre.c | 1341 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 D | php_pcre.h | 36 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 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) );
|
H A D | mail_basic.phpt | 13 /* 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 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));
|