Home
last modified time | relevance | path

Searched refs:c (Results 151 – 175 of 2183) sorted by relevance

12345678910>>...88

/php-src/ext/intl/tests/
H A Duconverter_oop_algo.phpt7 $c = new UConverter('utf-8', 'latin1');
8 var_dump(UConverter::LATIN_1 === $c->getSourceType());
9 var_dump(UConverter::UTF8 === $c->getDestinationType());
11 $c = new UConverter('koi8-r', 'utf-32be');
12 var_dump(UConverter::UTF32_BigEndian === $c->getSourceType());
13 var_dump(UConverter::SBCS === $c->getDestinationType());
/php-src/Zend/tests/
H A Dbug33171.phpt7 private $c = "A's c";
12 private $c = "B's c";
27 c => B's c
H A Dbug30394.phpt20 $c = new Container();
21 $c->a = 1;
22 $c->a += 1;
23 print $c->a; // --> 2
26 $c->a += max( 0, 1 );
27 print $c->a; // --> 4 (!)
H A Ddebug_print_backtrace_limit.phpt10 c();
13 function c() {
26 #0 %sdebug_print_backtrace_limit.php(7): c()
28 #0 %sdebug_print_backtrace_limit.php(7): c()
31 #0 %sdebug_print_backtrace_limit.php(7): c()
35 #0 %sdebug_print_backtrace_limit.php(7): c()
H A Dzend_signed_multiply-64bit-2.phpt7 for($c = -16; $c < 0; $c++) {
8 var_dump($c, intdiv(PHP_INT_MIN, 10), intdiv(PHP_INT_MIN, 10) * $c);
11 for($c = 0; $c <= 16; $c++) {
12 var_dump($c, intdiv(PHP_INT_MAX, 10), intdiv(PHP_INT_MAX, 10) * $c);
H A Dbug53958.phpt26 $c = 1;
27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
29 $c = 5;
H A Dflexible-heredoc-nowdoc.phpt6 $test = 'c';
25 c
45 c
65 c
89 c
95 c
103 c
115 c
123 c
H A Dbug79836_1.phpt8 ob_start(function () use (&$c) {
9 $c = 0;
11 $c = [];
12 $x = $c . $x;
13 $x = $c . $x;
/php-src/ext/opcache/tests/jit/
H A Dtrampoline_002.phpt30 $c = new C;
32 $a = [$b, $b, $b, $c, $c, $c, $d, $d, $d, $c, $c, $c];
H A Dreg_alloc_022.phpt10 $a = $b = $x = 0; $c = null;
13 $x = $a ? $b : $c;
14 $a &= $x != $a ? $b : $c;
15 $x = $a ? $b : $c;
16 $a &= $x != $a ? $b : $c;
17 $x != $a ?: $c;
/php-src/tests/classes/
H A Dstatic_properties_003.phpt11 $c = new C;
14 var_dump(isset($c->x));
15 unset($c->x);
16 echo $c->x;
17 $c->x = 1;
19 $c->x =& $ref;
20 var_dump($c->x, C::$x);
23 var_dump(isset($c->y));
24 //unset($c->y); // Fatal error, tested in static_properties_003_error1.phpt
25 //echo $c->y; // Fatal error, tested in static_properties_003_error2.phpt
[all …]
/php-src/ext/phar/tests/
H A Drefcount1.phpt17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 $fp = fopen($pname . '/b/c.php', 'wb');
25 $b = fopen($pname . '/b/c.php', 'rb');
26 $a = $p['b/c.php'];
31 unlink($pname . '/b/c.php');
34 include $pname . '/b/c.php';
43 string(%d) "phar://%srefcount1.phar.php/b/c.php"
45 string(%d) "c.php"
50 Warning: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.php", has open file pointers, ca…
53 string(%d) "phar://%srefcount1.phar.php/b/c.php"
[all …]
/php-src/ext/gd/libgd/
H A Dgd_intern.h6 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) argument
10 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) argument
/php-src/tests/run-test/
H A Dtest007.phpt37 same(".",dirname("c:\\foo"));
38 same(".",dirname("c:\\"));
39 same(".",dirname("c:"));
42 same("c:\\",dirname("c:\\foo"));
43 same("c:\\",dirname("c:\\"));
44 same("c:",dirname("c:"));
/php-src/ext/standard/tests/math/
H A Dfloorceil.phpt5 $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5);
7 var_dump ($a, $b, $c, $d, $e);
9 $a = ceil (0); $b = ceil (0.5); $c = ceil (1);
11 var_dump ($a, $b, $c, $d, $e, $f);
13 $a = floor (-0); $b = floor (-0.5); $c = floor (-1);
15 var_dump ($a, $b, $c, $d, $e, $f);
17 $a = floor (0); $b = floor (0.5); $c = floor (1);
19 var_dump ($a, $b, $c, $d, $e, $f);
/php-src/ext/standard/
H A Dhtml.c65 #define utf8_lead(c) ((c) < 0x80 || ((c) >= 0xC2 && (c) <= 0xF4)) argument
69 #define utf8_trail(c) ((c) >= 0x80 && (c) <= 0xBF) argument
71 #define gb2312_lead(c) ((c) != 0x8E && (c) != 0x8F && (c) != 0xA0 && (c) != 0xFF) argument
72 #define gb2312_trail(c) ((c) >= 0xA1 && (c) <= 0xFE) argument
74 #define sjis_lead(c) ((c) != 0x80 && (c) != 0xA0 && (c) < 0xFD) argument
75 #define sjis_trail(c) ((c) >= 0x40 && (c) != 0x7F && (c) < 0xFD) argument
182 if (c >= 0x81 && c <= 0xFE) { in get_next_char()
206 if (c >= 0x81 && c <= 0xFE) { in get_next_char()
232 if (c >= 0xA1 && c <= 0xFE) { in get_next_char()
259 if ((c >= 0x81 && c <= 0x9F) || (c >= 0xE0 && c <= 0xFC)) { in get_next_char()
[all …]
H A Diptc.c79 PUTC(c); in php_iptc_put1()
83 return c; in php_iptc_put1()
90 int c; in php_iptc_get1() local
93 c = getc(fp); in php_iptc_get1()
98 cc = c; in php_iptc_get1()
104 return c; in php_iptc_get1()
141 int c; in php_iptc_next_marker() local
149 while (c != 0xff) { in php_iptc_next_marker()
157 if (c == EOF) in php_iptc_next_marker()
160 if (c == 0xff) in php_iptc_next_marker()
[all …]
/php-src/ext/zend_test/
H A Dconfig.w326 …EXTENSION("zend_test", "test.c observer.c fiber.c iterators.c object_handlers.c", PHP_ZEND_TEST_SH…
H A Dconfig.m47 …PHP_NEW_EXTENSION(zend_test, test.c observer.c fiber.c iterators.c object_handlers.c, $ext_shared,…
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c108 htmlentitifieds[c] != 1) { in mbfl_filt_conv_html_enc()
113 if (c == e->code) { in mbfl_filt_conv_html_enc()
128 uc = (unsigned int)c; in mbfl_filt_conv_html_enc()
188 if (c == '&' ) { in mbfl_filt_conv_html_dec()
195 if (c == ';') { in mbfl_filt_conv_html_dec()
285 if (c=='&') in mbfl_filt_conv_html_dec()
297 if (c=='&') in mbfl_filt_conv_html_dec()
340 return (c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '#'; in is_html_entity_char()
349 unsigned char c = *p++; in mb_htmlent_to_wchar() local
351 if (c == '&') { in mb_htmlent_to_wchar()
[all …]
/php-src/ext/phar/tests/zip/
H A Drefcount1.phpt22 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
29 $fp = fopen($alias . '/b/c.php', 'wb');
33 $b = fopen($alias . '/b/c.php', 'rb');
34 $a = $phar['b/c.php'];
39 unlink($alias . '/b/c.php');
42 include $alias . '/b/c.php';
51 string(%d) "phar://%srefcount1.phar.zip/b/c.php"
53 string(%d) "c.php"
58 Warning: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.zip", has open file pointers, ca…
61 string(%d) "phar://%srefcount1.phar.zip/b/c.php"
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dprint.c39 char c; in lexbor_vprintf_size() local
48 c = *format; in lexbor_vprintf_size()
50 if (c == '%') { in lexbor_vprintf_size()
51 c = format[1]; in lexbor_vprintf_size()
53 switch (c) { in lexbor_vprintf_size()
78 else if (c == '\0') { in lexbor_vprintf_size()
102 char c; in lexbor_vsprintf() local
112 c = *format; in lexbor_vsprintf()
114 if (c == '%') { in lexbor_vsprintf()
115 c = format[1]; in lexbor_vsprintf()
[all …]
/php-src/scripts/dev/
H A Dgenfiles106 Zend/zend_language_parser.c \
107 Zend/zend_language_scanner.c \
108 Zend/zend_ini_parser.c \
109 Zend/zend_ini_scanner.c
114 sapi/phpdbg/phpdbg_parser.c \
115 sapi/phpdbg/phpdbg_lexer.c
120 ext/json/json_parser.tab.c \
121 ext/json/json_scanner.c
126 ext/pdo/pdo_sql_parser.c
132 ext/standard/url_scanner_ex.c
[all …]
/php-src/ext/sodium/tests/
H A Dpwhash_argon2i.phpt19 $c = sodium_crypto_pwhash_str_verify($testHash, $passwd);
20 var_dump($c);
23 $c = sodium_crypto_pwhash_str_verify($testHash, $passwd);
24 var_dump($c);
26 $c = sodium_crypto_pwhash_str_verify($hash, $passwd);
27 var_dump($c);
29 $c = sodium_crypto_pwhash_str_verify($hash, 'passwd');
30 var_dump($c);
/php-src/tests/lang/
H A DforeachLoopObjects.002.phpt9 public $c = "Original c";
64 public $c = "Overridden c";
184 ["c"]=>
205 ["c"]=>
230 ["c"]=>
259 ["c"]=>
280 ["c"]=>
305 ["c"]=>
334 ["c"]=>
351 ["c"]=>
[all …]

Completed in 50 milliseconds

12345678910>>...88