/PHP-7.4/ext/standard/tests/file/ |
H A D | realpath_variation2.phpt | 14 * Source code: ext/standard/file.c 20 $paths = array('c:\\', 21 'c:', 22 'c' , 25 'c:temp', 26 'c:\\/', 42 --c:\-- 45 --c:-- 48 --c-- 57 --c:temp-- [all …]
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_auto_possess.c | 230 switch(c) in check_char_prop() 276 return (c > OP_TYPEPOSUPTO)? c : in get_repeat_base() 328 if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) in get_chr_property_list() 333 if (c == OP_UPTO || c == OP_MINUPTO || c == OP_EXACT || c == OP_POSUPTO) in get_chr_property_list() 336 list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && in get_chr_property_list() 365 switch(c) in get_chr_property_list() 1130 if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) in PRIV() 1132 c -= get_repeat_base(c) - OP_STAR; in PRIV() 1135 list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; in PRIV() 1177 else if (c == OP_CLASS || c == OP_NCLASS || c == OP_XCLASS) in PRIV() [all …]
|
H A D | pcre2_extuni.c | 60 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 63 (void)c; in PRIV() 92 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 95 int lgb = UCD_GRAPHBREAK(c); in PRIV() 101 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in PRIV() 102 rgb = UCD_GRAPHBREAK(c); in PRIV() 122 GETCHAR(c, bptr); in PRIV() 125 c = *bptr; in PRIV() 126 if (UCD_GRAPHBREAK(c) != ucp_gbRegionalIndicator) break; in PRIV()
|
H A D | pcre2_newline.c | 82 uint32_t c; in PRIV() local 85 if (utf) { GETCHAR(c, ptr); } else c = *ptr; in PRIV() 88 c = *ptr; in PRIV() 91 if (type == NLTYPE_ANYCRLF) switch(c) in PRIV() 107 else switch(c) in PRIV() 172 uint32_t c; in PRIV() local 179 GETCHAR(c, ptr); in PRIV() 181 else c = *ptr; in PRIV() 184 c = *ptr; in PRIV() 187 if (type == NLTYPE_ANYCRLF) switch(c) in PRIV() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sprintf_variation23.phpt | 7 * Source code: ext/standard/formatted_print.c 24 "%c", "%hc", "%lc", 25 "%Lc", " %c", "%c ", 26 "\t%c", "\n%c", "%4c", 27 "%30c", "%[a-bA-B@#$&]", "%*c" 51 string(1) "c" 53 string(1) "c" 62 string(1) "c" 68 string(1) "c" 77 string(1) "c"
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso8859_1.c | 81 int mbfl_filt_conv_8859_1_wchar(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_8859_1_wchar() argument 83 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_8859_1_wchar() 89 int mbfl_filt_conv_wchar_8859_1(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_wchar_8859_1() argument 91 if (c >= 0 && c < 0x100) { in mbfl_filt_conv_wchar_8859_1() 92 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_8859_1() 94 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_8859_1() 97 return c; in mbfl_filt_conv_wchar_8859_1()
|
H A D | mbfilter_7bit.c | 70 int mbfl_filt_conv_7bit_any(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_7bit_any() argument 72 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_7bit_any() 76 int mbfl_filt_conv_any_7bit(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_any_7bit() argument 78 if (c >= 0 && c < 0x80) { in mbfl_filt_conv_any_7bit() 79 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_any_7bit() 81 return c; in mbfl_filt_conv_any_7bit()
|
H A D | mbfilter_uuencode.c | 60 #define UUDEC(c) (char)(((c)-' ')&077) argument 74 if (filter->cache == 0 && c == 'b') in mbfl_filt_conv_uudec() 79 else if (c == '\n') in mbfl_filt_conv_uudec() 85 if (uuenc_begin_text[filter->cache++] != c) { in mbfl_filt_conv_uudec() 98 if (c == '\n') in mbfl_filt_conv_uudec() 103 n = UUDEC(c); in mbfl_filt_conv_uudec() 109 n = UUDEC(c); in mbfl_filt_conv_uudec() 115 n = UUDEC(c); in mbfl_filt_conv_uudec() 121 n = UUDEC(c); in mbfl_filt_conv_uudec() 128 int A, B, C, D = UUDEC(c); in mbfl_filt_conv_uudec() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | arrayObject_setFlags_basic2.phpt | 8 static function go($c) { 9 var_dump($c->x); 13 $c = new C(array('x'=>'public')); 15 $c->setFlags(ArrayObject::ARRAY_AS_PROPS); 16 C::go($c); 17 var_dump($c->x); 20 $c->setFlags(0); 21 C::go($c); 22 var_dump($c->x);
|
H A D | arrayObject_clone_basic2.phpt | 7 $c = new C; 8 $ao1 = new ArrayObject($c); 9 $c->p1 = 'new prop added to c before clone'; 13 $c->p2 = 'new prop added to c after clone'; 16 var_dump($c, $ao1, $ao2); 21 string(32) "new prop added to c before clone" 23 string(31) "new prop added to c after clone" 31 string(32) "new prop added to c before clone" 33 string(31) "new prop added to c after clone" 42 string(32) "new prop added to c before clone"
|
/PHP-7.4/ext/dba/ |
H A D | config.w32 | 9 …EXTENSION("dba", "dba.c dba_cdb.c dba_db1.c dba_db2.c dba_db3.c dba_dbm.c dba_flatfile.c dba_gdbm.… 10 ADD_SOURCES("ext/dba/libcdb", "cdb.c cdb_make.c uint32.c", "dba"); 11 ADD_SOURCES("ext/dba/libflatfile", "flatfile.c", "dba"); 12 ADD_SOURCES("ext/dba/libinifile", "inifile.c", "dba"); 28 ADD_SOURCES("ext/dba", "dba_qdbm.c", "dba"); 40 ADD_SOURCES("ext/dba", "dba_lmdb.c", "dba");
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_pixelate.c | 17 int c = gdImageGetPixel(im, x, y); in gdImagePixelate() local 18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate() 26 int a, r, g, b, c; in gdImagePixelate() local 30 a = r = g = b = c = total = 0; in gdImagePixelate() 37 c = gdImageGetPixel(im, x + cx, y + cy); in gdImagePixelate() 38 a += gdImageAlpha(im, c); in gdImagePixelate() 39 r += gdImageRed(im, c); in gdImagePixelate() 40 g += gdImageGreen(im, c); in gdImagePixelate() 41 b += gdImageBlue(im, c); in gdImagePixelate() 47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate() [all …]
|
/PHP-7.4/ext/json/ |
H A D | config.w32 | 6 EXTENSION('json', 'json.c', PHP_JSON_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); 8 if (!FSO.FileExists("ext/json/json_scanner.c")) { 9 STDOUT.WriteLine("Generating ext/json/json_scanner.c"); 10 …/php_json_scanner_defs.h --no-generation-date -bci -o ext/json/json_scanner.c ext/json/json_scanne… 12 if (!FSO.FileExists("ext/json/json_parser.tab.c")) { 13 STDOUT.WriteLine("Generating ext/json/json_parser.tab.c"); 14 …xecute(PATH_PROG("bison") + " --defines -l ext/json/json_parser.y -o ext/json/json_parser.tab.c")); 17 ADD_SOURCES(configure_module_dirname, "json_encoder.c json_parser.tab.c json_scanner.c", "json");
|
/PHP-7.4/ext/date/ |
H A D | config.w32 | 3 EXTENSION("date", "php_date.c", false, "/Iext/date/lib /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DHAVE_T… 5 …S("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c par…
|
/PHP-7.4/Zend/tests/ |
H A D | nowdoc_005.phpt | 9 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 14 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 22 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
|
H A D | nowdoc_006.phpt | 9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
|
H A D | nowdoc_007.phpt | 9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
|
H A D | bug70681.phpt | 6 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); 7 $c = $c->bindTo(null); 9 $c = (new ReflectionFunction('strlen'))->getClosure(); 10 $c = $c->bindTo(null); 11 var_dump($c("foo"));
|
/PHP-7.4/ext/oci8/ |
H A D | config.w32 | 12 WARNING("oci8 and oci8-12c provide the same extension and cannot both be built statically"); 19 WARNING("oci8-11g and oci8-12c provide the same extension and cannot both be built statically"); 48 …EXTENSION('oci8', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_fail… 83 …EXTENSION('oci8_11g', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_… 94 ARG_WITH("oci8-12c", "OCI8 support using Oracle Database 12c Instant Client", "no"); 118 …EXTENSION('oci8_12c', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_… 123 …WARNING("oci8-12c not enabled: Oracle Database client libraries or Oracle Database 12c Instant Cli…
|
/PHP-7.4/ext/phar/ |
H A D | config.m4 | 8 …PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_ob…
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | 008.phpt | 8 $c = array(-1,2,1,15,25,17); 12 echo '$c='.var_export($c,TRUE).";\n"; 15 var_dump(array_intersect($a,$b,$c)); 30 'c'=>'done', 60 $c = array( 69 echo '$c='.var_export($c,TRUE).";\n"; 133 $c=array ( 141 array_intersect($a,$b,$c); 215 'c' => 'done', 244 $c=array ( [all …]
|
/PHP-7.4/ext/standard/ |
H A D | config.m4 | 277 …SOURCES(PHP_EXT_DIR(standard), crypt_freesec.c crypt_blowfish.c crypt_sha512.c crypt_sha256.c php_… 485 PHP_NEW_EXTENSION(standard, array.c base64.c basic_functions.c browscap.c crc32.c crypt.c \ 486 cyr_convert.c datetime.c dir.c dl.c dns.c exec.c file.c filestat.c \ 487 flock_compat.c formatted_print.c fsock.c head.c html.c image.c \ 488 info.c iptc.c lcg.c link.c mail.c math.c md5.c metaphone.c \ 489 microtime.c pack.c pageinfo.c quot_print.c rand.c mt_rand.c \ 490 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \ 491 var.c versioning.c assert.c strnatcmp.c levenshtein.c \ 494 var_unserializer.c ftok.c sha1.c user_filters.c uuencode.c \ 495 filters.c proc_open.c streamsfuncs.c http.c password.c \ [all …]
|
H A D | url.c | 439 c = tolower(c); in php_htoi() 440 value = (c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10) * 16; in php_htoi() 444 c = tolower(c); in php_htoi() 445 value += c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10; in php_htoi() 486 } else if ((c < '0' && c != '-' && c != '.') || in php_url_encode() 487 (c < 'A' && c > '9') || in php_url_encode() 488 (c > 'Z' && c < 'a' && c != '_') || in php_url_encode() 591 if ((c < '0' && c != '-' && c != '.') || 592 (c < 'A' && c > '9') || 593 (c > 'Z' && c < 'a' && c != '_') || [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | config.m4 | 223 ZendAccelerator.c \ 228 zend_persist.c \ 229 zend_persist_calc.c \ 230 zend_file_cache.c \ 231 zend_shared_alloc.c \ 233 shared_alloc_shm.c \ 238 Optimizer/pass2.c \ 239 Optimizer/pass3.c \ 252 Optimizer/sccp.c \ 253 Optimizer/scdf.c \ [all …]
|
/PHP-7.4/ext/oci8/tests/ |
H A D | error_set.phpt | 18 $r = oci_set_action($c, $s); 20 $m = oci_error($c); 23 $r = oci_set_client_identifier($c, $s); 25 $m = oci_error($c); 28 $r = oci_set_module_name($c, $s); 30 $m = oci_error($c); 33 $r = oci_set_client_info($c, $s); 35 $m = oci_error($c); 41 $r = oci_set_action($c, $s); 47 $r = oci_set_module_name($c, $s); [all …]
|