/PHP-5.3/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-5.3/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-5.3/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 …]
|
H A D | mbfilter_cp5022x.c | 283 } else if (s >= 94 * 94 && s < 114 * 94) { in mbfl_filt_conv_jis_ms_wchar() 416 s = 0; in mbfl_filt_conv_wchar_jis_ms() 429 s = (s / 94 + 0x75) << 8 | (s % 94 + 0x21); in mbfl_filt_conv_wchar_jis_ms() 434 s = (s / 94 + 0xf5) << 8 | (s % 94 + 0xa1); in mbfl_filt_conv_wchar_jis_ms() 465 if (s <= 0 || s >= 0x8080 && s < 0x10000) { in mbfl_filt_conv_wchar_jis_ms() 667 s = (s / 94 + 0x75) << 8 | (s % 94 + 0x21); in mbfl_filt_conv_wchar_cp50221() 672 s = (s / 94 + 0xf5) << 8 | (s % 94 + 0xa1); in mbfl_filt_conv_wchar_cp50221() 696 if (s <= 0 || s >= 0x8080 && s < 0x10000) { in mbfl_filt_conv_wchar_cp50221() 815 s = (s / 94 + 0x75) << 8 | (s % 94 + 0x21); in mbfl_filt_conv_wchar_cp50222() 820 s = (s / 94 + 0xf5) << 8 | (s % 94 + 0xa1); in mbfl_filt_conv_wchar_cp50222() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | uuencode.c | 75 s = src; in php_uuencode() 79 ee = s + len; in php_uuencode() 95 s += 3; in php_uuencode() 103 if (s < e) { in php_uuencode() 133 s = src; in php_uudecode() 157 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode() 159 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode() 160 s += 4; in php_uudecode() 168 s++; in php_uudecode() 172 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode() [all …]
|
/PHP-5.3/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-5.3/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-5.3/ext/pdo/tests/ |
H A D | pdo_018.phpt | 186 TestBase::serialize() = 'a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri… 188 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 190 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 196 …string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Priva… 198 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 200 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 213 …string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Priva… 220 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 227 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… 233 …s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Pu… [all …]
|
/PHP-5.3/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 …]
|
H A D | sprintf_variation15.phpt | 62 "%Ls"," %s", "%s ", 63 "\t%s", "\n%s", "%4s", 64 "%30s", "%[a-zA-Z0-9]", "%*s" 84 string(1) "s" 86 string(1) "s" 95 string(1) "s" 99 string(1) "s" 101 string(1) "s" 110 string(1) "s" 114 string(1) "s" [all …]
|
H A D | htmlspecialchars_decode_variation5.phpt | 19 "\nRoy's height >\t; Sam's\v height\f", 20 "\r\tRoy's height >\r; Sam\t's height", 45 string(82) "Roy's height > Sam's height... 13 < 15... 48 string(82) "Roy's height > Sam's height... 13 < 15... 54 string(72) "Roy's height > Sam's height... 13 < 15... 59 Roy's height > ; Sam's height" 61 Roy's height > ; Sam's height" 63 Roy's height > ; Sam's height" 65 Roy's height > ; Sam's height" 77 Roy's height > [all …]
|
/PHP-5.3/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-5.3/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-5.3/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 …]
|
H A D | 047.phpt | 7 function octal_inc($s) { 8 $len = strlen($s); 11 if ($s[$len] != '7') { 12 $s[$len] = $s[$len] + 1; 13 return $s; 15 $s[$len] = '0'; 17 return '1'.$s; 21 $s = sprintf("%o", PHP_INT_MAX); 24 $s = octal_inc($s); 27 $s = sprintf("%o", ~0); [all …]
|
/PHP-5.3/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 …]
|
/PHP-5.3/ext/standard/tests/serialize/ |
H A D | serialization_objects_002.phpt | 90 …s:1:"a";i:10;s:1:"b";s:6:"string";s:1:"c";b:1;s:1:"d";d:-2.344440000000000079438677857979200780391… 140 …ation => string(108) "O:1:"D":8:{s:1:"a";i:1;s:1:"b";i:2;s:1:"c";i:3333;s:1:"d";i:444444;s:1:"e";N… 159 …s:1:"a";d:0.5;s:1:"b";d:0.005000000000000000104083408558608425664715468883514404296875;s:1:"c";d:-… 178 …alization => string(100) "O:1:"D":8:{s:1:"a";b:1;s:1:"b";b:1;s:1:"c";b:0;s:1:"d";b:0;s:1:"e";N;s:1… 197 …string(126) "O:1:"D":8:{s:1:"a";s:1:"a";s:1:"b";s:1:"a";s:1:"c";s:6:"string";s:1:"d";s:6:"string";… 216 …s:1:"a";a:0:{}s:1:"b";a:5:{i:0;i:1;i:1;d:2.221999999999999975131004248396493494510650634765625;i:2… 270 …ization => string(103) "O:1:"D":8:{s:1:"a";N;s:1:"b";N;s:1:"c";s:0:"";s:1:"d";s:1:"";s:1:"e";N;s:… 289 …s:6:"string";s:10:"var_public";a:3:{i:0;d:-100.1230000000000046611603465862572193145751953125;i:1;…
|
/PHP-5.3/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-5.3/tests/security/ |
H A D | open_basedir_scandir.phpt | 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 46 Warning: scandir(..): failed to open dir: %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d 55 Warning: scandir(): (errno 1): %s in %s on line %d 62 Warning: scandir(): (errno 1): %s in %s on line %d 69 Warning: scandir(): (errno 1): %s in %s on line %d 74 Warning: scandir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d 76 Warning: scandir(): (errno 1): %s in %s on line %d 81 Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | 026.phpt | 18 Version => %s 23 "Olson" Timezone Database Version => %s 24 Timezone Database => %s 25 Default timezone => %s 27 Directive => %s => %s 28 date.timezone => %s => %s 29 date.default_latitude => %s => %s 30 date.default_longitude => %s => %s 31 date.sunset_zenith => %s => %s 32 date.sunrise_zenith => %s => %s
|