/PHP-7.4/ext/standard/tests/strings/ |
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 | 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 | bug38322.phpt | 6 $str = "a b c d e"; 7 var_dump(sscanf("a ",'%1$s',$str));
|
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
|
/PHP-7.4/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-7.4/ext/gd/libgd/ |
H A D | gdkanji.c | 108 c = str[i++]; in DetectKanjiCode() 111 c = str[i++]; in DetectKanjiCode() 119 c = str[i++]; in DetectKanjiCode() 130 c = str[i++]; in DetectKanjiCode() 138 c = str[i++]; in DetectKanjiCode() 155 c = str[i++]; in DetectKanjiCode() 165 c = str[i++]; in DetectKanjiCode() 599 unsigned char *str; 611 str = output; 612 while (*str != '\0') [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | static_method_non_existing_class.phpt | 6 $str = "foo"; 8 Test::{$str . "bar"}();
|
H A D | bug53629.phpt | 6 $str = ' 24 highlight_string($str, true);
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | 12pg_insert_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 27 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES (1234,E'AAA',E'\\x424242'); 28 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES ('1234','AAA','BBB');
|
H A D | 13pg_select_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 33 ["str"]=> 42 ["str"]=>
|
H A D | 14pg_update_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 27 UPDATE "php_pgsql_test" SET "num"=1234,"str"=E'ABC',"bin"=E'\\x58595a' WHERE "num"=1234; 28 UPDATE "php_pgsql_test" SET "num"='1234',"str"='ABC',"bin"='XYZ' WHERE "num"='1234';
|
H A D | 17result.phpt | 31 ["str"]=> 43 ["str"]=> 61 ["str"]=>
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 43 bc_str2num (bc_num *num, char *str, int scale) in bc_str2num() argument 53 ptr = str; in bc_str2num() 78 ptr = str; in bc_str2num()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgetss1.phpt | 19 foreach ($array as $str) { 20 file_put_contents($filename, $str); 26 foreach ($array as $str) { 27 file_put_contents($filename, $str);
|
/PHP-7.4/ext/standard/ |
H A D | proc_open.c | 73 zend_string *key, *str; in _php_array_to_envp() local 104 if (ZSTR_LEN(str) == 0) { in _php_array_to_envp() 136 memcpy(p, ZSTR_VAL(str), ZSTR_LEN(str)); in _php_array_to_envp() 137 p += ZSTR_LEN(str); in _php_array_to_envp() 401 if (!str) { in get_valid_arg_string() 405 if (strlen(ZSTR_VAL(str)) != ZSTR_LEN(str)) { in get_valid_arg_string() 408 zend_string_release(str); in get_valid_arg_string() 412 return str; in get_valid_arg_string() 447 smart_string str = {0}; in create_win_command_from_args() local 468 smart_string_0(&str); in create_win_command_from_args() [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | bug77793.phpt | 6 $str = 'foo'; 7 $vars = ['var' => $str . 'bar'];
|
/PHP-7.4/sapi/embed/ |
H A D | php_embed.c | 50 static inline size_t php_embed_single_write(const char *str, size_t str_length) in php_embed_single_write() argument 55 ret = write(STDOUT_FILENO, str, str_length); in php_embed_single_write() 61 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write() 67 static size_t php_embed_ub_write(const char *str, size_t str_length) in php_embed_ub_write() argument 69 const char *ptr = str; in php_embed_ub_write()
|
/PHP-7.4/ext/gmp/tests/ |
H A D | bug74670.phpt | 5 $str = 'C:3:"GMP":4:{s:6666666666:""}'; 6 var_dump(unserialize($str));
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 200.phpt | 19 typedef int (*zend_write_func_t)(const char *str, size_t str_length); 26 $zend->zend_write = function($str, $len) { 29 $ret = $orig_zend_write($str, $len);
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_util_funcs.h | 31 void zend_accel_move_user_functions(HashTable *str, uint32_t count, zend_script *script); 32 void zend_accel_move_user_classes(HashTable *str, uint32_t count, zend_script *script);
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_webdata_transfer.c | 24 zend_string *str = zend_string_init(name, len, 0); in phpdbg_is_auto_global() local 25 ret = zend_is_auto_global(str); in phpdbg_is_auto_global() 26 zend_string_free(str); in phpdbg_is_auto_global() 55 zend_string *str; in phpdbg_webdata_compress() local 58 if ((str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0))) { in phpdbg_webdata_compress() 59 ZVAL_STR(&zv[2], str); in phpdbg_webdata_compress()
|