/PHP-5.5/ext/standard/tests/strings/ |
H A D | strtok_variation5.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
|
H A D | strtolower.phpt | 18 string strtolower ( string $str ); 35 $str = "Mary Had A liTTle LAmb and ShE loveD IT So\n"; 36 var_dump(strtolower($str));
|
H A D | strtoupper1-win32.phpt | 23 $str = "Mary Had A liTTle LAmb and ShE loveD IT So\n"; 24 var_dump(strtoupper($str));
|
H A D | strtoupper1.phpt | 35 $str = "Mary Had A liTTle LAmb and ShE loveD IT So\n"; 36 var_dump(strtoupper($str));
|
H A D | strtr_variation5.phpt | 2 Test strtr() function : usage variations - unexpected inputs for 'str' argument 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 11 /* Test strtr() function: with unexpected inputs for 'str' 15 echo "*** Testing strtr() function: with unexpected inputs for 'str' ***\n"; 82 $str = $strings[$index]; 83 var_dump( strtr($str, $from, $to) ); 92 *** Testing strtr() function: with unexpected inputs for 'str' ***
|
H A D | strtr_variation6.phpt | 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 12 * and expected type for 'str' & 'to' arguments 31 //defining 'str' argument 32 $str = "012atm"; 83 var_dump( strtr($str, $from, $to) );
|
H A D | strtr_variation7.phpt | 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 12 * and expected types for 'str' & 'from' arguments 31 //defining 'str' argument 32 $str = "012atm"; 83 var_dump( strtr($str, $from, $to) );
|
H A D | strtr_variation8.phpt | 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 12 * and expected type for 'str' arguments 31 //defining 'str' argument 32 $str = "012atm"; 80 var_dump( strtr($str, $replace_pairs) );
|
H A D | strtr_variation9.phpt | 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 11 /* Test strtr() function: with unexpected inputs for 'str', 'from', 'to' & 'replace_pairs' argument…
|
H A D | strrev.phpt | 6 $str = ''; 9 $str .= chr($i++); 12 var_dump(md5(strrev($str)));
|
H A D | strrev_basic.phpt | 5 /* Prototype : string strrev(string $str);
|
H A D | strrev_error.phpt | 5 /* Prototype : string strrev(string $str);
|
H A D | strrev_variation1.phpt | 5 /* Prototype : string strrev(string $str); 10 /* Testing strrev() function with various double quoted strings for 'str' */ 13 $str = "Hiiii"; 39 "Hello".$str,
|
H A D | strrev_variation2.phpt | 5 /* Prototype : string strrev(string $str); 10 /* Testing strrev() function with various single quoted strings for 'str' */ 13 $str = 'Hiiii'; 39 'Hello'.$str,
|
H A D | strrev_variation3.phpt | 5 /* Prototype : string strrev(string $str); 10 /* Testing strrev() function with heredoc strings for 'str' */
|
H A D | strrev_variation4.phpt | 5 /* Prototype : string strrev(string $str); 10 /* Testing strrev() function with unexpected inputs for 'str' */ 12 echo "*** Testing strrev() : unexpected inputs for 'str' ***\n"; 77 // loop through each element of the array for str 91 *** Testing strrev() : unexpected inputs for 'str' ***
|
H A D | strripos.phpt | 7 var_dump(strripos("test strip string strand", "str"));
|
H A D | strrpos.phpt | 7 var_dump(strrpos("test strip string strand", "str"));
|
H A D | strncasecmp_basic.phpt | 23 $str = <<<HEREDOC 26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0) 27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0 28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
|
H A D | strncmp_basic.phpt | 23 $str = <<<HEREDOC 26 var_dump( strncmp($str, "Hello", 5) ); //expected: int(0) 27 var_dump( strncmp($str, "Hi", 5) ); //expected: value < 0 28 var_dump( strncmp("Hi", $str, 5) ); //expected: value > 0
|
H A D | strpos.phpt | 157 $str = <<<EOD 159 var_dump( strpos($str, "\0") ); 160 var_dump( strpos($str, NULL) ); 161 var_dump( strpos($str, "0") ); 178 $str = chr(0).chr(128).chr(129).chr(234).chr(235).chr(254).chr(255); 179 echo "-- Positions of some chars in the string '$str' are as follows --\n"; 181 var_dump( strpos($str, chr(128)) ); 183 var_dump( strpos($str, chr(255), 3) ); 185 var_dump( strpos($str, chr(256)) );
|
H A D | strip_tags_variation10.phpt | 7 /* Prototype : string strip_tags(string $str [, string $allowable_tags]) 13 * testing functionality of strip_tags() by giving single quoted strings as values for $str argument
|
H A D | strip_tags_variation2.phpt | 7 /* Prototype : string strip_tags(string $str [, string $allowable_tags])
|
H A D | strip_tags_variation3.phpt | 2 Test strip_tags() function : usage variations - unexpected values for both 'str' and 'allowable_tag… 7 /* Prototype : string strip_tags(string $str [, string $allowable_tags]) 13 …* testing functionality of strip_tags() by giving unexpected values for $str and $allowable_tags a…
|
H A D | strip_tags_variation7.phpt | 2 Test strip_tags() function : usage variations - invalid values for 'str' and 'allowable_tags' 7 /* Prototype : string strip_tags(string $str [, string $allowable_tags]) 13 …* testing functionality of strip_tags() by giving invalid values for $str and $allowable_tags argu…
|