/PHP-7.0/ext/fileinfo/tests/ |
H A D | bug68819_001.phpt | 9 …s---------------a---------a---a--s-a-----a-----------asy---------a-----a-----------a----s--------a…
|
/PHP-7.0/ext/standard/tests/serialize/ |
H A D | bug68545.phpt | 5 …s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar…
|
/PHP-7.0/ext/date/tests/ |
H A D | bug53437_var3.phpt | 7 …s = 'O:12:"DateInterval":15:{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1… 9 $di = unserialize($s); 26 ["s"]=>
|
H A D | bug53437_var5.phpt | 7 …s = 'O:12:"DateInterval":15:{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1… 9 $di = unserialize($s); 26 ["s"]=>
|
/PHP-7.0/ext/mbstring/tests/ |
H A D | mb_convert_encoding.phpt | 26 $s = mb_convert_encoding($s, 'EUC-JP', 'SJIS'); 30 $s = mb_convert_encoding($s, 'EUC-JP', 'JIS'); 38 $s = mb_convert_encoding($s, 'JIS', 'EUC-JP'); 47 $s = mb_convert_encoding($s, 'EUC-JP', $a); 51 $s = mb_convert_encoding($s, 'SJIS', $a); 55 $s = mb_convert_encoding($s, 'JIS', $a); 64 $s = mb_convert_encoding($s, 'EUC-JP', $a); 68 $s = mb_convert_encoding($s, 'SJIS', $a); 72 $s = mb_convert_encoding($s, 'JIS', $a); 102 $s = mb_convert_encoding($s, 'BAD'); [all …]
|
H A D | mb_detect_encoding.phpt | 25 $s = mb_detect_encoding($s, 'SJIS'); 29 $s = mb_detect_encoding($s, 'JIS'); 33 $s = mb_detect_encoding($s, 'UTF-8,EUC-JP,JIS'); 37 $s = mb_detect_encoding($s, 'JIS,EUC-JP'); 49 $s = mb_detect_encoding($s, $a); 53 $s = mb_detect_encoding($s, $a); 57 $s = mb_detect_encoding($s, $a); 68 $s = mb_detect_encoding($s); 72 $s = mb_detect_encoding($s); 76 $s = mb_detect_encoding($s); [all …]
|
/PHP-7.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_tl_jisx0201_jisx0208.c | 43 int s, n; in mbfl_filt_tl_jisx0201_jisx0208() local 46 s = c; in mbfl_filt_tl_jisx0201_jisx0208() 62 s = 0x3000; in mbfl_filt_tl_jisx0201_jisx0208() 176 s = 0x20; in mbfl_filt_tl_jisx0201_jisx0208() 178 s = 0x2d; in mbfl_filt_tl_jisx0201_jisx0208() 237 s = 0x5c; in mbfl_filt_tl_jisx0201_jisx0208() 239 s = 0x5c; in mbfl_filt_tl_jisx0201_jisx0208() 241 s = 0x7e; in mbfl_filt_tl_jisx0201_jisx0208() 243 s = 0x7e; in mbfl_filt_tl_jisx0201_jisx0208() 245 s = 0x27; in mbfl_filt_tl_jisx0201_jisx0208() [all …]
|
H A D | mbfilter_utf7imap.c | 69 int s, n; in mbfl_filt_conv_utf7imap_wchar() local 130 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7imap_wchar() 131 s = (((s & 0x3ff) << 16) + 0x400000) | n; in mbfl_filt_conv_utf7imap_wchar() 133 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7imap_wchar() 162 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7imap_wchar() 163 s = (((s & 0x3ff) << 16) + 0x400000) | n; in mbfl_filt_conv_utf7imap_wchar() 165 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7imap_wchar() 189 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7imap_wchar() 190 s = (((s & 0x3ff) << 16) + 0x400000); in mbfl_filt_conv_utf7imap_wchar() 192 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7imap_wchar() [all …]
|
H A D | mbfilter_utf7.c | 96 int s, n; in mbfl_filt_conv_utf7_wchar() local 157 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7_wchar() 158 s = (((s & 0x3ff) << 16) + 0x400000) | n; in mbfl_filt_conv_utf7_wchar() 160 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7_wchar() 189 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7_wchar() 190 s = (((s & 0x3ff) << 16) + 0x400000) | n; in mbfl_filt_conv_utf7_wchar() 192 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7_wchar() 216 if (s >= 0xd800 && s < 0xdc00) { in mbfl_filt_conv_utf7_wchar() 217 s = (((s & 0x3ff) << 16) + 0x400000); in mbfl_filt_conv_utf7_wchar() 219 } else if (s >= 0xdc00 && s < 0xe000) { in mbfl_filt_conv_utf7_wchar() [all …]
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gdhelpers.c | 26 if (!s) in gd_strtok_r() 31 start = s; in gd_strtok_r() 33 if (!(*s)) in gd_strtok_r() 43 s++; in gd_strtok_r() 49 *state = s; in gd_strtok_r() 54 result = s; in gd_strtok_r() 60 *state = s; in gd_strtok_r() 63 s++; in gd_strtok_r() 67 *s = '\0'; in gd_strtok_r() 70 s++; in gd_strtok_r() [all …]
|
/PHP-7.0/ext/standard/ |
H A D | uuencode.c | 79 s = src; in php_uuencode() 83 ee = s + len; in php_uuencode() 99 s += 3; in php_uuencode() 107 if (s < e) { in php_uuencode() 140 s = src; in php_uudecode() 164 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode() 166 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode() 167 s += 4; in php_uudecode() 175 s++; in php_uudecode() 180 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode() [all …]
|
/PHP-7.0/ext/spl/tests/ |
H A D | iterator_050.phpt | 36 %s(1) "1" 38 %s(1) "2" 45 %s(1) "1" 47 %s(1) "2" 52 %s(1) "1" 54 %s(1) "1" 59 %s(1) "1" 61 %s(1) "1" 66 %s(1) "1" 68 %s(1) "1" [all …]
|
/PHP-7.0/ext/pdo/tests/ |
H A D | pdo_018.phpt | 199 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 201 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 207 …string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Priva… 209 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 211 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 224 …string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Priva… 231 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 238 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 242 TestBase::unserialize(a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s… 244 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | sprintf_variation19.phpt | 37 "%Ls"," %s", "%s ", 38 "\t%s", "\n%s", "%4s", 39 "%30s", "%[a-zA-Z0-9]", "%*s" 59 string(1) "s" 61 string(1) "s" 70 string(1) "s" 74 string(1) "s" 76 string(1) "s" 85 string(1) "s" 89 string(1) "s" [all …]
|
H A D | sprintf_variation16.phpt | 34 "%Ls"," %s", "%s ", 35 "\t%s", "\n%s", "%4s", 36 "%30s", "%[a-zA-Z0-9]", "%*s" 56 string(1) "s" 58 string(1) "s" 67 string(1) "s" 71 string(1) "s" 73 string(1) "s" 82 string(1) "s" 86 string(1) "s" [all …]
|
/PHP-7.0/ext/pcre/tests/ |
H A D | 004.phpt | 6 …ed|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s*(?:(=)[^,;]+)?((?:\s*,\s*\**\… 9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,… 12 …/zend_parse_parameters(?:_ex\s*\([^,]+,[^,]+|\s*\([^,]+),\s*"([^"]*)"\s*,\s*([^{;]*)/S', 'zend_par… 15 …r_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(s… 98 string(46) "zend_parse_parameters( 0, "addd|s/", a, b, &c)" 105 string(7) "addd|s/" 129 string(13) "s, preg_match"
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | uniqid_basic.phpt | 42 string(13) "%s" 43 string(23) "%s.%s" 44 string(13) "%s" 49 string(28) "99999%s.%s" 53 string(28) "99999%s.%s" 57 string(27) "1050%s.%s" 60 string(13) "%s" 61 string(23) "%s.%s" 62 string(13) "%s" 65 string(24) "1%s.%s" [all …]
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_properties_no_conn.phpt | 31 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n", 36 printf("mysqli->client_info = '%s'/%s ('%s'/%s)\n", 41 printf("mysqli->client_version = '%s'/%s ('%s'/%s)\n", 46 printf("mysqli->errno = '%s'/%s ('%s'/%s)\n", 52 printf("mysqli->error = '%s'/%s ('%s'/%s)\n", 57 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n", 62 printf("mysqli->insert_id = '%s'/%s ('%s'/%s)\n", 67 printf("mysqli->sqlstate = '%s'/%s ('%s'/%s)\n", 72 printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n", 78 printf("mysqli->info = '%s'/%s ('%s'/%s)\n", [all …]
|
/PHP-7.0/Zend/ |
H A D | zend_string.h | 47 #define IS_INTERNED(s) ZSTR_IS_INTERNED(s) in END_EXTERN_C() argument 85 ZSTR_H(s) = zend_hash_func(ZSTR_VAL(s), ZSTR_LEN(s)); 92 ZSTR_H(s) = 0; in zend_string_forget_hash_val() 169 return s; in zend_string_copy() 175 return s; in zend_string_dup() 216 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), ZSTR_LEN(s) + 1); in zend_string_extend() 263 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_free() 271 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release() 373 *s = str; in zend_interned_empty_string_init() 380 free(*s); in zend_interned_empty_string_free() [all …]
|
/PHP-7.0/ext/filter/tests/ |
H A D | 048.phpt | 7 function hex_inc($s) { 8 $len = strlen($s); 11 if ($s[$len] != 'f') { 12 if ($s[$len] == '9') { 13 $s[$len] = 'a'; 15 $s[$len] = $s[$len] + 1; 17 return $s; 19 $s[$len] = '0'; 21 return '1'.$s; 28 $s = hex_inc($s); [all …]
|
/PHP-7.0/ext/json/ |
H A D | json_scanner.re | 97 s->token = s->cursor; 177 ZVAL_STRINGL(&s->value, (char *) s->token, s->cursor - s->token); 190 if (s->limit < s->cursor) { 198 s->str_start = s->cursor; 250 size_t len = s->cursor - s->str_start - s->str_esc - 1; 261 s->cursor = s->str_start; 280 s->str_start = s->cursor; 288 s->str_start = s->cursor; 297 s->str_start = s->cursor; 310 s->str_start = s->cursor; [all …]
|
/PHP-7.0/ext/hash/ |
H A D | hash_gost.c | 133 (s[1] & 0xffff) ^ (s[1] >> 16) ^ (s[2] << 16) ^ s[6] ^ (s[6] << 16) ^ \ 136 (s[1] << 16) ^ (s[1] >> 16) ^ (s[2] << 16) ^ (s[2] >> 16) ^ \ 137 (s[3] << 16) ^ s[6] ^ (s[6] << 16) ^ (s[6] >> 16) ^ (s[7] & 0xffff) ^ \ 142 (s[3] << 16) ^ (s[3] >> 16) ^ (s[4] << 16) ^ (s[6] << 16) ^ \ 143 (s[6] >> 16) ^(s[7] & 0xffff) ^ (s[7] << 16) ^ (s[7] >> 16); \ 145 (s[1] & 0xffff) ^ s[2] ^ (s[2] >> 16) ^ (s[3] << 16) ^ (s[3] >> 16) ^ \ 146 (s[4] << 16) ^ (s[4] >> 16) ^ (s[5] << 16) ^ (s[6] << 16) ^ \ 148 u[6] = m[6] ^ s[0] ^ (s[1] >> 16) ^ (s[2] << 16) ^ s[3] ^ (s[3] >> 16) ^ \ 149 (s[4] << 16) ^ (s[4] >> 16) ^ (s[5] << 16) ^ (s[5] >> 16) ^ s[6] ^ \ 152 (s[1] << 16) ^ (s[2] >> 16) ^ (s[3] << 16) ^ s[4] ^ (s[4] >> 16) ^ \ [all …]
|
/PHP-7.0/TSRM/ |
H A D | tsrm_strtok_r.c | 21 if (s == NULL) { in tsrm_strtok_r() 22 s = *last; in tsrm_strtok_r() 25 while (*s && in_character_class(*s, delim)) { in tsrm_strtok_r() 26 s++; in tsrm_strtok_r() 28 if (!*s) { in tsrm_strtok_r() 32 token = s; in tsrm_strtok_r() 34 while (*s && !in_character_class(*s, delim)) { in tsrm_strtok_r() 35 s++; in tsrm_strtok_r() 37 if (!*s) { in tsrm_strtok_r() 38 *last = s; in tsrm_strtok_r() [all …]
|
/PHP-7.0/ext/reflection/tests/ |
H A D | 026.phpt | 18 Version => %s 23 timelib version => %s 24 "Olson" Timezone Database Version => %s 25 Timezone Database => %s 26 Default timezone => %s 28 Directive => %s => %s 29 date.timezone => %s => %s 30 date.default_latitude => %s => %s 31 date.default_longitude => %s => %s 32 date.sunset_zenith => %s => %s [all …]
|
/PHP-7.0/ext/oci8/tests/ |
H A D | num.phpt | 33 var_dump(ocirowcount($s)); 35 var_dump(ocinumcols($s)); 39 if (!oci_execute($s)) { 45 var_dump(ocirowcount($s)); 47 var_dump(ocinumcols($s)); 57 var_dump(ocinumcols($s)); 70 var_dump(ocinumcols($s)); 73 if (!oci_execute($s)) { 101 if (!oci_execute($s)) { 122 if (!oci_execute($s)) { [all …]
|