/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_qprint.c | 86 filter->cache = c; in mbfl_filt_conv_qprintenc() 91 filter->cache = c; in mbfl_filt_conv_qprintenc() 186 if (hex2code_map[c & 0xff] >= 0) { in mbfl_filt_conv_qprintdec() 187 filter->cache = c; in mbfl_filt_conv_qprintdec() 200 m = hex2code_map[c & 0xff]; in mbfl_filt_conv_qprintdec() 204 n = c; in mbfl_filt_conv_qprintdec() 212 if (c != 0x0a) { /* LF */ in mbfl_filt_conv_qprintdec() 218 if (c == 0x3d) { /* '=' */ in mbfl_filt_conv_qprintdec() 258 unsigned char c = *p++; in mb_qprint_to_wchar() local 260 if (c == '=' && p < e) { in mb_qprint_to_wchar() [all …]
|
H A D | mbfilter_uuencode.c | 63 #define UUDEC(c) (char)(((c)-' ') & 077) argument 89 else if (c == '\n') in mbfl_filt_conv_uudec() 108 if (c == '\n') in mbfl_filt_conv_uudec() 113 n = UUDEC(c); in mbfl_filt_conv_uudec() 119 n = UUDEC(c); in mbfl_filt_conv_uudec() 125 n = UUDEC(c); in mbfl_filt_conv_uudec() 131 n = UUDEC(c); in mbfl_filt_conv_uudec() 181 unsigned char c = *p++; in mb_uuencode_to_wchar() local 185 if (c == 'b') { in mb_uuencode_to_wchar() 196 size = UUDEC(c); in mb_uuencode_to_wchar() [all …]
|
/php-src/ext/intl/tests/ |
H A D | calendar_before_after_error.phpt | 11 $c = new IntlGregorianCalendar(NULL, 'pt_PT'); 19 var_dump($c->after()); 24 var_dump($c->before()); 30 var_dump($c->after(1)); 35 var_dump($c->before(1)); 41 var_dump($c->after($c, 1)); 46 var_dump($c->before($c, 1)); 52 var_dump(intlcal_after($c)); 57 var_dump(intlcal_before($c));
|
/php-src/ext/pdo/ |
H A D | config.w32 | 6 …EXTENSION('pdo', 'pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c', false /* force stat…
|
/php-src/Zend/tests/named_params/ |
H A D | variadic.phpt | 18 test(b: 'b', a: 'a', c: 'c', extra: 'extra'); 21 test('a', 'b', 'c', d: 'd'); 35 ["c"]=> 36 string(1) "c" 51 string(1) "c" 62 string(1) "c"
|
/php-src/sapi/apache2handler/ |
H A D | config.w32 | 13 SAPI('apache2handler', 'mod_php.c sapi_apache2.c apache_config.c php_functions.c', 31 SAPI('apache2_2handler', 'mod_php.c sapi_apache2.c apache_config.c php_functions.c', 49 SAPI('apache2_4handler', 'mod_php.c sapi_apache2.c apache_config.c php_functions.c',
|
/php-src/Zend/ |
H A D | zend_smart_string.h | 33 smart_string_appendl_ex((str), ((smart_string *)(src))->c, \ 38 #define smart_string_appendc(str, c) \ argument 39 smart_string_appendc_ex((str), (c), 0) 66 if (str->c) { in smart_string_free_ex() 67 pefree(str->c, persistent); in smart_string_free_ex() 68 str->c = NULL; in smart_string_free_ex() 74 if (str->c) { in smart_string_0() 75 str->c[str->len] = '\0'; in smart_string_0() 81 dest->c[dest->len - 1] = ch; in smart_string_appendc_ex() 86 memcpy(dest->c + dest->len, str, len); in smart_string_appendl_ex() [all …]
|
/php-src/ext/pdo_mysql/ |
H A D | config.w32 | 9 EXTENSION("pdo_mysql", "pdo_mysql.c mysql_driver.c mysql_statement.c"); 17 …EXTENSION("pdo_mysql", "pdo_mysql.c mysql_driver.c mysql_statement.c", null, "/DZEND_ENABLE_STATIC…
|
/php-src/Zend/tests/in-de-crement/ |
H A D | oss-fuzz-61865_postdec_declared_property_unset_error_handler.phpt | 11 $c = new C; 12 set_error_handler([$c,'errorHandler']); 13 unset($c->a); 14 $v = ($c->a--); 15 var_dump($c->a);
|
H A D | oss-fuzz-61865_postinc_declared_property_unset_error_handler.phpt | 11 $c = new C; 12 set_error_handler([$c,'errorHandler']); 13 unset($c->a); 14 $v = ($c->a++); 15 var_dump($c->a);
|
H A D | unset_property_converted_to_obj_in_error_handler.phpt | 11 $c = new C; 12 set_error_handler([$c,'errorHandler']); 13 unset($c->a); 16 (++$c->a); 20 var_dump($c->a);
|
/php-src/ext/hash/ |
H A D | hash_ripemd.c | 230 a = d; d = c; c = b; b = tmp; in RIPEMD128Transform() 237 a = d; d = c; c = b; b = tmp; in RIPEMD128Transform() 244 a = d; d = c; c = b; b = tmp; in RIPEMD128Transform() 251 a = d; d = c; c = b; b = tmp; in RIPEMD128Transform() 322 a = d; d = c; c = b; b = tmp; in RIPEMD256Transform() 330 a = d; d = c; c = b; b = tmp; in RIPEMD256Transform() 338 a = d; d = c; c = b; b = tmp; in RIPEMD256Transform() 342 tmp = c; c = cc; cc = tmp; in RIPEMD256Transform() 346 a = d; d = c; c = b; b = tmp; in RIPEMD256Transform() 421 a = e; e = d; d = ROL(10, c); c = b; b = tmp; in RIPEMD160Transform() [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | conv.c | 93 lxb_char_t c, *pos; in lexbor_conv_data_to_double() local 122 c = *p - '0'; in lexbor_conv_data_to_double() 124 if (c > 9) { in lexbor_conv_data_to_double() 141 c = *p - '0'; in lexbor_conv_data_to_double() 143 if (c > 9) { in lexbor_conv_data_to_double() 173 c = *e - '0'; in lexbor_conv_data_to_double() 175 if (c <= 9) { in lexbor_conv_data_to_double() 176 exp = c; in lexbor_conv_data_to_double() 182 if (c > 9) { in lexbor_conv_data_to_double() 310 lxb_char_t c; in lexbor_conv_dec_to_hex() local [all …]
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_printint.c | 94 uint32_t c = *ptr; in print_char() local 116 if (PRINTABLE(c)) fprintf(f, "%c", (char)c); in print_char() 117 else if (c < 0x80) fprintf(f, "\\x%02x", c); in print_char() 135 if ((c & 0xc0) != 0xc0) in print_char() 145 c = (c & PRIV(utf8_table3)[a]) << s; in print_char() 170 c = (((c & 0x3ff) << 10) | (ptr[1] & 0x3ff)) + 0x10000; in print_char() 209 uint32_t c = *ptr++; in print_custring() local 210 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring() 219 uint32_t c = *ptr++; in print_custring_bylen() local 220 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring_bylen() [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg2.phpt | 12 $a = -1; $b = -1; $c = -1; 13 mb_ereg($a, $b, $c); 14 var_dump($a, $b, $c); 16 mb_eregi($a, $b, $c); 17 var_dump($a, $b, $c);
|
/php-src/ext/session/ |
H A D | config.w32 | 6 …EXTENSION("session", "mod_user_class.c session.c mod_files.c mod_mm.c mod_user.c", false /* never …
|
/php-src/ext/phar/tests/ |
H A D | delete_in_phar.phpt | 18 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 24 include $pname . '/b/c.php'; 25 unlink($pname . '/b/c.php'); 31 include $pname . '/b/c.php'; 39 This is b/c 44 Warning: include(%sdelete_in_phar.phar.php/b/c.php): Failed to open stream: phar error: "b/c.php" i… 46 Warning: include(): Failed opening 'phar://%sdelete_in_phar.phar.php/b/c.php' for inclusion (includ…
|
H A D | phar_oo_uncompressall.phpt | 18 $files['c'] = 'c'; 28 var_dump(file_get_contents($pname . '/c')); 29 var_dump($phar['c']->isCompressed()); 39 var_dump(file_get_contents($pname . '/c')); 40 var_dump($phar['c']->isCompressed(Phar::GZ)); 48 var_dump(file_get_contents($pname . '/c')); 61 string(1) "c" 69 string(1) "c" 76 string(1) "c"
|
/php-src/ext/standard/tests/strings/ |
H A D | vprintf_basic5.phpt | 9 $format1 = "%c"; 10 $format2 = "%c %c"; 11 $format3 = "%c %c %c";
|
H A D | strtolower.phpt | 66 0c => 0c 82 1c => 1c 98 2c => 2c 114 3c => 3c 130 4c => 6c 146 5c => 5c 162 6c => 6c 178 7c => 7c 194 8c => 8c 210 9c => 9c
|
/php-src/ext/simplexml/tests/ |
H A D | gh12223.phpt | 13 <!ENTITY c "&b;"> 15 <somedoc>&c;</somedoc> 26 ["c"]=> 28 ["c"]=> 46 [c] => SimpleXMLElement Object 48 [c] => SimpleXMLElement Object
|
/php-src/ext/fileinfo/libmagic/ |
H A D | strcasestr.c | 69 char c, sc; in strcasestr() local 72 if ((c = *find++) != 0) { in strcasestr() 73 c = tolower((unsigned char)c); in strcasestr() 79 } while ((char)tolower((unsigned char)sc) != c); in strcasestr()
|
/php-src/ext/filter/tests/ |
H A D | 033.phpt | 17 validate_domain PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 18 validate_url http://a.b.c … 22 string PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 23 stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 24 encoded PHP 1 foo%40bar.com http%3A%2F%2Fa.b.c 1.2.3.4 123 123abc%3C%3E%28%29 O… 25 special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 26 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 27 unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 28 email PHP 1 foo@bar.com httpa.b.c 1.2.3.4 123 123abc O… 29 url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… [all …]
|
/php-src/ext/json/ |
H A D | config.m4 | 2 json.c \ 3 json_encoder.c \ 4 json_parser.tab.c \ 5 json_scanner.c,
|
/php-src/ext/pdo/tests/ |
H A D | bug_38394.phpt | 19 $db->exec("CREATE TABLE test38394 (a INT, b INT, c INT)"); 20 $s = $db->prepare("INSERT INTO test38394 (a,b,c) VALUES (:a,:b,:c)"); 22 $s->execute(array('a' => 1, 'b' => 2, 'c' => 3)); 24 @$s->execute(array('a' => 5, 'b' => 6, 'c' => 7, 'd' => 8)); 26 $s->execute(array('a' => 9, 'b' => 10, 'c' => 11)); 44 ["c"]=> 53 ["c"]=>
|