/PHP-5.5/ext/standard/tests/strings/ |
H A D | sscanf_basic1.phpt | 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 16 $str = "Part: Widget Serial Number: 1234789 Stock: 25"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock);
|
H A D | sscanf_basic2.phpt | 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 16 $str = "Part: Widget Serial Number: 1234789 Stock: 25"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock);
|
H A D | sscanf_basic4.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "X = A + B - C"; 18 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4);
|
H A D | sscanf_basic3.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "Part: Widget Length: 111.53 Width: 22.345 Depth: 12.4"; 18 list($part, $length, $width, $depth) = sscanf($str, $format); 23 $res = sscanf($str, $format, $part, $length, $width, $depth);
|
H A D | sscanf_basic7.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "0123 -0123 +0123 0129 -0129 +0129"; 18 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_basic6.phpt | 12 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 19 $str = "-11 +11 11 -11.234 +11.234 11.234"; 24 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 29 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_error.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 12 $str = "Hello World"; 19 var_dump( sscanf($str) ); 23 var_dump( sscanf($str, $format, $str1, $str2, $extra_str) );
|
H A D | str_split_basic.phpt | 5 /* Prototype : array str_split(string $str [, int $split_length]) 16 $str = 'This is basic testcase'; 21 var_dump( str_split($str,$split_length) ); 25 var_dump( str_split($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 | strcspn_error.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 24 $str = 'string_val'; 31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) ); 35 $str = 'string_val'; 36 var_dump( strcspn($str) );
|
H A D | strspn_error.phpt | 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 24 $str = 'string_val'; 31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) ); 35 $str = 'string_val'; 36 var_dump( strspn($str) );
|
H A D | sha1_variation1.phpt | 2 Test sha1() function : usage variations - unexpected values for 'str' argument 6 /* Prototype: string sha1 ( string $str [, bool $raw_output ] ) 10 echo "*** Testing sha1() : unexpected values for 'str' ***\n"; 30 //different values for 'str' argument 80 // loop through each element of $values for 'str' argument 92 *** Testing sha1() : unexpected values for 'str' ***
|
H A D | wordwrap_error.phpt | 5 /* Prototype : string wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] ) 18 $str = 'testing wordwrap function'; 24 var_dump( wordwrap($str, $width, $break, $cut, $extra_arg) ); 32 var_dump( wordwrap($str, $width, $break, $cut) ); 38 var_dump( wordwrap($str, $width, $break, $cut) ); 44 var_dump( wordwrap($str, $width, $break, $cut) ); 50 var_dump( wordwrap($str, $width, $break, $cut) );
|
/PHP-5.5/sapi/roxen/ |
H A D | roxen.c | 192 return head->u.string->str; in lookup_string_header() 214 php_roxen_low_ub_write(const char *str, uint str_length TSRMLS_DC) { in php_roxen_low_ub_write() argument 226 to_write = make_shared_binary_string(str, str_length); in php_roxen_low_ub_write() 245 php_roxen_sapi_ub_write(const char *str, uint str_length TSRMLS_DC) in php_roxen_sapi_ub_write() argument 407 MEMCPY(buf, Pike_sp[-1].u.string->str, in php_roxen_low_read_post() 518 zvalue->value.str.len = strlen(buf); \ 519 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \ 548 strncpy(buf, ind->u.string->str, buf_len); in php_roxen_hash_environment() 552 zvalue->value.str.len = val->u.string->len; in php_roxen_hash_environment() 553 zvalue->value.str.val = estrndup(val->u.string->str, zvalue->value.str.len); in php_roxen_hash_environment() [all …]
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzeof_variation1.phpt | 14 $str = "Here is the string to be written. "; 16 gzwrite( $h, $str ); 18 gzwrite( $h, $str, $length);
|
H A D | gzputs_basic.phpt | 14 $str = "Here is the string to be written. "; 16 var_dump(gzputs( $h, $str ) ); 17 var_dump(gzputs( $h, $str, $length ) );
|
H A D | zlib_wrapper_fflush_basic.phpt | 14 $str = "Here is the string to be written."; 17 gzwrite( $h, $str); 18 gzwrite( $h, $str);
|
/PHP-5.5/ext/intl/tests/ |
H A D | transliterator_transliterate_variant1.phpt | 9 $str = " o"; 10 echo transliterator_transliterate("[\p{White_Space}] hex", $str), "\n"; 12 echo transliterator_transliterate("\x8F", $str), "\n"; 19 echo transliterator_transliterate(new A(), $str), "\n";
|
/PHP-5.5/ext/standard/ |
H A D | quot_print.h | 24 PHPAPI unsigned char *php_quot_print_decode(const unsigned char *str, size_t length, size_t *ret_le… 25 PHPAPI unsigned char *php_quot_print_encode(const unsigned char *str, size_t length, size_t *ret_le…
|
/PHP-5.5/ext/json/ |
H A D | php_json.h | 53 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long … 77 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, lon… in php_json_decode() argument 79 …php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_… in php_json_decode()
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_error.c | 63 free(err->str); in _zip_error_fini() 64 err->str = NULL; in _zip_error_fini() 89 err->str = NULL; in _zip_error_init()
|
/PHP-5.5/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 44 bc_str2num (bc_num *num, char *str, int scale TSRMLS_DC) in bc_str2num() argument 54 ptr = str; in bc_str2num() 79 ptr = str; in bc_str2num()
|
/PHP-5.5/Zend/tests/ |
H A D | bug60350.phpt | 5 $str = "\e"; 6 if (ord($str) == 27) {
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fgetss1.phpt | 18 foreach ($array as $str) { 19 file_put_contents($filename, $str); 25 foreach ($array as $str) { 26 file_put_contents($filename, $str);
|