/PHP-5.5/ext/standard/tests/strings/ |
H A D | str_split_variation3.phpt | 2 Test str_split() function : usage variations - different double quoted strings for 'str' argument 5 /* Prototype : array str_split(string $str [, int $split_length]) 14 * passing different double quoted strings as 'str' argument to str_split() 18 echo "*** Testing str_split() : double quoted strings for 'str' ***\n"; 23 // different values for 'str' 40 //loop through each element of $values for 'str' argument 48 *** Testing str_split() : double quoted strings for 'str' ***
|
H A D | str_split_variation7_64bit.phpt | 2 …plit() function : usage variations - different integer values for 'split_length' with heredoc 'str' 9 /* Prototype : array str_split(string $str [, int $split_length]) 18 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s… 21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n… 23 $str = <<<EOT 42 var_dump( str_split($str, $values[$count]) ); 47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
|
H A D | chunk_split_variation7.phpt | 2 Test chunk_split() function : usage variations - different double quoted values for 'str' argument 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 12 * Passing different double quoted strings for 'str' argument to chunk_split() 16 echo "*** Testing chunk_split() : with different double quoted values for 'str' argument ***\n"; 22 // different values for 'str' 38 // loop through each element of the array for 'str' 47 *** Testing chunk_split() : with different double quoted values for 'str' argument ***
|
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 | convert_cyr_string_basic.phpt | 6 /* Prototype : string convert_cyr_string ( string $str , string $from , string $to ) 13 $str = "Convert from one Cyrillic character set to another."; 16 var_dump(bin2hex(convert_cyr_string($str, 'w', 'k'))); 17 var_dump(bin2hex(convert_cyr_string($str, 'w', 'i'))); 23 $str = chr($i); 24 echo "$i: " . bin2hex(convert_cyr_string($str, 'w', 'k')) . "\n";
|
H A D | stripslashes_error.phpt | 5 /* Prototype : string stripslashes ( string $str ) 22 $str = '\"hello\"\"world\"'; 25 var_dump( stripslashes($str, $extra_arg) ); 26 var_dump( $str );
|
H A D | htmlentities15.phpt | 20 $str = "���������"; 21 var_dump($str, htmlentities($str, ENT_QUOTES, ''));
|
H A D | str_split_variation7.phpt | 2 …plit() function : usage variations - different integer values for 'split_length' with heredoc 'str' 9 /* Prototype : array str_split(string $str [, int $split_length]) 18 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s… 21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n… 23 $str = <<<EOT 42 var_dump( str_split($str, $values[$count]) ); 47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
|
H A D | quoted_printable_decode_basic.phpt | 5 /* Prototype : string quoted_printable_decode ( string $str ) 12 $str = "=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A= 18 var_dump(bin2hex(quoted_printable_decode($str)));
|
H A D | addslashes_error.phpt | 5 /* Prototype : string addslashes ( string $str ) 22 $str = '"hello"\"world"'; 25 var_dump( addslashes($str, $extra_arg) ); 26 var_dump( $str );
|
H A D | chop_error.phpt | 5 /* Prototype : string chop ( string $str [, string $charlist] ) 22 $str = 'string_val '; 26 var_dump( chop($str, $charlist, $extra_arg) ); 27 var_dump( $str );
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzwrite_error2.phpt | 14 $str = "Here is the string to be written. "; 15 var_dump(gzwrite( $h, $str, 0 ) ); 16 var_dump(gzwrite( $h, $str, -1 ) );
|
H A D | gzwrite_variation1.phpt | 14 $str = b"Here is the string to be written. "; 16 var_dump(gzwrite( $h, $str ) ); 18 var_dump(gzwrite( $h, $str, $length ) );
|
H A D | gzwrite_basic.phpt | 14 $str = "Here is the string to be written. "; 16 var_dump(gzwrite( $h, $str ) ); 17 var_dump(gzwrite( $h, $str, $length ) );
|
/PHP-5.5/ext/soap/tests/schema/ |
H A D | schema022.phpt | 14 <union memberTypes="int float str"/> 19 test_schema($schema,'type="tns:testType"',array(123,123.5,'str')); 24 …ng/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType">123 123.5 str</testParam></ns1:te… 25 string(13) "123 123.5 str"
|
H A D | schema068.phpt | 10 <attribute name="str" type="string"/> 14 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>4));
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_ereg.phpt | 16 function test_ereg( $test_enc, $pat, $str, $in_enc = 'EUC-JP' ) { 19 $str = mb_convert_encoding( $str, $test_enc, $in_enc ); 20 …printf( "(%d)%s\n", mb_ereg( $pat, $str, $reg ), ( is_array( $reg )? bin2hex(mb_convert_encoding( …
|
H A D | mb_substr_error1.phpt | 10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]]) 23 $str = 'string_val'; 28 var_dump( mb_substr($str, $start, $length, $encoding, $extra_arg) ); 32 $str = 'string_val'; 33 var_dump( mb_substr($str) );
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_parse.c | 42 char* str = NULL; in PHP_FUNCTION() local 54 &object, NumberFormatter_ce_ptr, &str, &str_len, &type, &zposition ) == FAILURE ) in PHP_FUNCTION() 66 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION() 133 char *str; in PHP_FUNCTION() local 142 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE ) in PHP_FUNCTION() 154 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
|
/PHP-5.5/sapi/apache2handler/ |
H A D | apache_config.c | 144 char *str; in merge_php_config() local 157 zend_hash_get_current_key_ex(&d->config, &str, &str_len, in merge_php_config() 162 if (zend_hash_find(&n->config, str, str_len, (void **) &pe) == SUCCESS) { in merge_php_config() 165 phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", str, data->status, pe?pe->status:-1)); in merge_php_config() 166 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL); in merge_php_config() 187 char *str; in apply_config() local 192 zend_hash_get_current_key_ex(&d->config, &str, &str_len, NULL, 0, in apply_config() 196 phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value)); in apply_config() 197 …if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?… in apply_config()
|
/PHP-5.5/ext/soap/tests/ |
H A D | server006.phpt | 8 private $str = ""; 10 function Foo($str) { 11 $this->str = $str . " World"; 15 return $this->str;
|
/PHP-5.5/ext/mbstring/libmbfl/tests/ |
H A D | emoji.c | 38 char str[] = {0xF9,0xD6,0x00}; // U+00A9 in main() local 44 char str[] = {0xF7,0x74,0x00}; // U+00A9 in main() local 50 char str[] = {0xF7,0xEE,0x00}; // U+00A9 in main() local 74 strcpy(dev.buffer, str); in main() 75 dev.pos += strlen(str); in main()
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_substr_error1.phpt | 10 /* Prototype : string iconv_substr(string str, int offset, [int length, string charset]) 23 $str = 'string_val'; 28 var_dump( iconv_substr($str, $start, $length, $encoding, $extra_arg) ); 32 $str = 'string_val'; 33 var_dump( iconv_substr($str) );
|
/PHP-5.5/ext/standard/tests/url/ |
H A D | base64_encode_basic_002.phpt | 5 /* Prototype : proto string base64_encode(string str) 28 foreach($values as $str) { 31 $enc = base64_encode($str); 34 if ($dec != $str) {
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gdkanji.c | 111 c = str[i++]; in DetectKanjiCode() 114 c = str[i++]; in DetectKanjiCode() 122 c = str[i++]; in DetectKanjiCode() 133 c = str[i++]; in DetectKanjiCode() 141 c = str[i++]; in DetectKanjiCode() 158 c = str[i++]; in DetectKanjiCode() 168 c = str[i++]; in DetectKanjiCode() 606 unsigned char *str; 618 str = output; 619 while (*str != '\0') [all …]
|