/PHP-5.5/ext/imap/tests/ |
H A D | imap_binary_basic.phpt | 17 $str = b'This is an example string to be base 64 encoded'; 18 $base64 = imap_binary($str); 22 $str = b'This is a long string with results in more than 60 characters of output'; 23 $base64 = imap_binary($str); 27 $str = b'_+-={][];;@~#?/>.<,'; 28 $base64 = imap_binary($str);
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | extract_safety.phpt | 5 $str = "John"; 6 debug_zval_dump($GLOBALS["str"]); 14 debug_zval_dump($GLOBALS["str"]);
|
/PHP-5.5/ext/hash/ |
H A D | hash_tiger.c | 101 #define split_ex(str) \ argument 102 x0=str[0]; x1=str[1]; x2=str[2]; x3=str[3]; \ 103 x4=str[4]; x5=str[5]; x6=str[6]; x7=str[7]; 105 # define split(str) \ argument 111 ((unsigned char *) tmp)[i^7] = ((unsigned char *) str)[i]; \ 119 #define tiger_compress(passes, str, state) \ argument 129 split(str); \
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 55 const char *str = NULL; local 120 str = "msword"; 122 str = "vnd.ms-excel"; 124 str = "vnd.ms-powerpoint"; 127 str = "x-rpt"; 169 if (str == NULL) 171 if (file_printf(ms, "application/%s", str) == -1) 294 const char *str = "vnd.ms-office"; local 303 str = "msword"; 307 str = "vnd.ms-powerpoint"; [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | nl2br_variation2.phpt | 2 Test nl2br() function : usage variations - single quoted strings for 'str' argument 5 /* Prototype : string nl2br(string $str); 11 * combinations of new line chars to 'str' argument 39 foreach( $strings as $str ){ 41 var_dump(nl2br($str) );
|
H A D | crc32_basic.phpt | 11 /* Prototype : string crc32(string $str) 25 $str = 'string_val1234'; 30 var_dump( is_int(crc32($str)) ); 33 printf("%u\n", crc32($str) );
|
H A D | sscanf_basic8.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "129 12F 123B -123B 01ABC 1G"; 19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1); 21 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2); 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | chunk_split_basic.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 20 $str = 'Testing'; 26 var_dump( chunk_split($str, $chunklen, $ending) ); 31 var_dump( chunk_split($str, $chunklen) ); 36 var_dump( chunk_split($str) );
|
H A D | strtr_error.phpt | 5 /* Prototype : string strtr(string str, string from[, string to]) 6 * Description: Translates characters in str using given translation tables 11 $str = "string"; 20 var_dump( strtr($str) ); 23 var_dump( strtr($str, $from, $to, $extra_arg) );
|
H A D | sha1.phpt | 15 foreach ($a as $str) { 16 var_dump($val1 = sha1($str)); 17 file_put_contents($filename, $str); 22 var_dump(sha1($str, true));
|
H A D | str_split_variation4.phpt | 2 Test str_split() function : usage variations - different single quoted strings for 'str' argument 5 /* Prototype : array str_split(string $str [, int $split_length]) 14 * passing different single quoted strings as 'str' argument to str_split() 18 echo "*** Testing str_split() : single quoted strings for 'str' ***\n"; 23 // different values for 'str' 39 //loop through each element of $values for 'str' argument 47 *** Testing str_split() : single quoted strings for 'str' *** 68 string(5) "e str"
|
H A D | chop_variation1.phpt | 2 Test chop() function : usage variations - unexpected values for str argument 5 /* Prototype : string chop ( string $str [, string $charlist] ) 11 * Testing chop() : with different unexpected values for $str argument passed to the function 14 echo "*** Testing chop() : with unexpected values for str argument ***\n"; 85 // when $str argument is supplied with different values 87 echo "\n--- Testing chop() by supplying different values for 'str' argument ---\n"; 91 $str = $values [$index]; 93 var_dump( chop($str) ); 94 var_dump( chop($str, $charlist) ); 105 *** Testing chop() : with unexpected values for str argument *** [all …]
|
H A D | convert_cyr_string_error.phpt | 6 /* Prototype : string convert_cyr_string ( string $str , string $from , string $to ) 11 $str = "hello"; 22 var_dump( convert_cyr_string($str, $from) ); 25 var_dump( convert_cyr_string($str, $from, $to, $extra_arg) ); 28 var_dump(bin2hex( convert_cyr_string($str, "?", $to) )); 31 var_dump(bin2hex( convert_cyr_string($str, $from, "?")) ); 34 var_dump(bin2hex( convert_cyr_string($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 | nl2br_variation1.phpt | 2 Test nl2br() function : usage variations - double quoted strings for 'str' argument 5 /* Prototype : string nl2br(string $str); 11 * combinations of new line chars to 'str' argument 41 foreach( $strings as $str ){ 43 var_dump(nl2br($str) );
|
H A D | chunk_split_variation6.phpt | 2 Test chunk_split() function : usage variations - single quoted strings for 'str' argument 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 12 * passing different single quoted strings as 'str' argument to the function 16 echo "*** Testing chunk_split() : with different single quoted 'str' ***\n"; 22 //different single quoted string for 'str' 40 //Loop through each element of values for 'str' 49 *** Testing chunk_split() : with different single quoted 'str' ***
|
/PHP-5.5/sapi/apache2filter/ |
H A D | apache_config.c | 126 char *str; in merge_php_config() local 135 zend_hash_get_current_key_ex(&d->config, &str, &str_len, in merge_php_config() 140 if (zend_hash_find(&n->config, str, str_len, (void **) &pe) == SUCCESS) { in merge_php_config() 143 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL); in merge_php_config() 144 phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", str, data->status, pe?pe->status:-1)); in merge_php_config() 165 char *str; in apply_config() local 170 zend_hash_get_current_key_ex(&d->config, &str, &str_len, NULL, 0, in apply_config() 174 phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value)); in apply_config() 175 …if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?… in apply_config()
|
/PHP-5.5/tests/output/ |
H A D | ob_017.phpt | 8 function oh($str, $flags) { 10 $stati[] = "$flags: $str"; 11 return $str;
|
/PHP-5.5/ext/standard/ |
H A D | mail.c | 59 #define SKIP_LONG_HEADER_SEP(str, pos) \ argument 60 if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \ 62 while (str[pos + 1] == ' ' || str[pos + 1] == '\t') { \ 68 #define MAIL_ASCIIZ_CHECK(str, len) \ argument 69 p = str; \ 81 char *str = NULL; in PHP_FUNCTION() local 85 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { in PHP_FUNCTION() 90 h = (h + (h << 5)) ^ (unsigned long) (unsigned char) tolower(str[j]); in PHP_FUNCTION()
|
H A D | soundex.c | 31 char *str; in PHP_FUNCTION() local 63 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { in PHP_FUNCTION() 77 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION()
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | overload01.phpt | 19 $str = '��Ͻ�ܻ���Һ���ɽ��ǽ��ɽ��������˽��Ž�չ�ʸ����ͽ���Ƭ���ե���'; 20 var_dump(strlen($str)); 21 var_dump(mb_strlen($str));
|
/PHP-5.5/Zend/tests/ |
H A D | call_user_func_001.phpt | 7 function foobar($str) { 8 var_dump($str); 12 protected function prot($str) { 17 private function priv($str) {
|
/PHP-5.5/ext/intl/tests/ |
H A D | transliterator_clone.phpt | 8 $str = "a U+4E07"; 11 echo $t->id, ": ", $t->transliterate($str), "\n"; 14 echo $u->id, ": ", $u->transliterate($str), "\n";
|
/PHP-5.5/ext/soap/tests/schema/ |
H A D | schema021.phpt | 12 <union memberTypes="int float str"/> 17 test_schema($schema,'type="tns:testType"',"123 123.5 456.7 str"); 22 …SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType">123 123.5 456.7 str</testParam></ns1:te… 23 string(19) "123 123.5 456.7 str"
|
/PHP-5.5/main/ |
H A D | php_output.h | 163 #define PHPWRITE(str, str_len) php_output_write((str), (str_len) TSRMLS_CC) argument 164 #define PHPWRITE_H(str, str_len) php_output_write_unbuffered((str), (str_len) TSRMLS_CC) argument 169 #define PUTS(str) do { \ argument 170 const char *__str = (str); \ 173 #define PUTS_H(str) do { \ argument 174 const char *__str = (str); \ 210 PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC); 211 PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC);
|