/php-src/ext/calendar/tests/ |
H A D | jdtojewish_overflow.phpt | 9 for ($i=324542840; $i<324542850; $i++) { 10 echo $i, ':', jdtojewish($i), PHP_EOL;
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_script_run.c | 109 for (int i = 0; i < FULL_MAPSIZE; i++) require_map[i] = 0; in PRIV() local 248 for (int i = 0; i < FULL_MAPSIZE; i++) in PRIV() local 250 if ((require_map[i] & map[i]) != 0) in PRIV() 285 for (int i = 0; i < FULL_MAPSIZE; i++) require_map[i] &= map[i]; in PRIV() local
|
/php-src/ext/date/tests/ |
H A D | DateInterval_serialize-002.phpt | 33 'i' => 12, 57 ["i"]=> 73 …Interval":10:{s:1:"y";i:43;s:1:"m";i:3;s:1:"d";i:24;s:1:"h";i:1;s:1:"i";i:12;s:1:"s";i:27;s:1:"f";… 86 ["i"]=> 111 ["i"]=> 136 ["i"]=>
|
/php-src/ext/gd/libgd/ |
H A D | gd_topal.c | 725 for (i = 0; i < numboxes; i++) in select_colors() 866 for (i = 0; i < numcolors; i++) in find_nearby_colors() 970 for (i = 0; i < numcolors; i++) in find_nearby_colors() 1018 for (i = 0; i < numcolors; i++) in find_best_colors() 1422 for (i = 0; i < HIST_C0_ELEMS; i++) in zeroHistogram() 1450 for (i = 0; i < oim->sy; i++) in free_truecolor_image_data() 1507 for (i = 0; (i < nim->sy); i++) in gdImageTrueColorToPaletteBody() 1529 for (i = 0; i < HIST_C0_ELEMS; i++) in gdImageTrueColorToPaletteBody() 1570 for (i = 0; (i < im->colorsTotal); i++) in gdImageTrueColorToPaletteBody() 1634 for (i = 0; i < nim->sy; i++) in gdImageTrueColorToPaletteBody() [all …]
|
/php-src/ext/dom/tests/ |
H A D | bug47430.phpt | 8 version="1.0"?><html><p><i>Hello</i></p><p><i>World!</i></p></html>'; 12 $elements = $dom->getElementsByTagName('i'); 13 foreach ($elements as $i) { 15 $i->previousSibling->nodeValue = '';
|
/php-src/ext/standard/tests/serialize/ |
H A D | 002.phpt | 7 var_dump(unserialize('i:823;')); 10 var_dump(unserialize('a:1:{i:0;s:2:"12";}')); 11 var_dump(unserialize('a:2:{i:0;a:0:{}i:1;a:0:{}}')); 12 var_dump(unserialize('a:3:{i:0;s:3:"foo";i:1;s:3:"bar";i:2;s:3:"baz";}'));
|
/php-src/Zend/tests/ |
H A D | closure_010.phpt | 5 $i = 3; 6 $lambda = function ($lambda) use (&$i) { 7 if ($i==0) return; 8 echo $i--."\n"; 12 echo "$i\n";
|
H A D | bug38220.phpt | 9 echo "func1(): {$this->obj->i}\n"; 13 echo "close(): {$this->obj->i}\n"; 18 public $i; 20 function __construct($i) { 21 $this->i = $i; 66 [i] => 1 74 [i] => 1 81 [i] => 2 89 [i] => 2
|
/php-src/ext/session/tests/ |
H A D | session_encode_variation3.phpt | 27 string(34) "foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}"
|
/php-src/ext/simplexml/tests/ |
H A D | bug42369.phpt | 11 for ($i = 0; $i < 100000; $i++) { 16 for ($i = 0; $i < 100000; $i++) {
|
/php-src/Zend/Optimizer/ |
H A D | dce.c | 527 int i; in dce_optimize_op_array() local 574 while (i > block->start) { in dce_optimize_op_array() 575 i--; in dce_optimize_op_array() 578 op_data = i; in dce_optimize_op_array() 584 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 589 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array() 599 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 619 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array() 620 if (i < op_array->last in dce_optimize_op_array() 625 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array() [all …]
|
/php-src/ext/random/ |
H A D | engine_xoshiro256starstar.c | 66 for (uint32_t i = 0; i < 4; i++) { in jump() local 68 if (jmp[i] & 1ULL << j) { in jump() 126 for (uint32_t i = 0; i < 4; i++) { in serialize() local 127 ZVAL_STR(&t, php_random_bin2hex_le(&s->state[i], sizeof(uint64_t))); in serialize() 144 for (uint32_t i = 0; i < 4; i++) { in unserialize() local 145 t = zend_hash_index_find(data, i); in unserialize() 149 if (!php_random_hex2bin_le(Z_STR_P(t), &s->state[i])) { in unserialize() 233 for (uint32_t i = 0; i < 4; i++) { in PHP_METHOD() local 234 t[i] = 0; in PHP_METHOD() 236 t[i] += ((uint64_t) (unsigned char) ZSTR_VAL(str_seed)[(i * 8) + j]) << (j * 8); in PHP_METHOD()
|
/php-src/tests/func/ |
H A D | 010.phpt | 32 for($i=0; $i < $limit; ++$i) { 33 $str .= '$v'.dechex($i).($i===($limit-1) ? '' : ','); 50 for($i=0; $i< $limit; ++$i) { 51 $str .= "'".dechex($i)."'".($i===($limit-1) ? '' : ',');
|
/php-src/ |
H A D | run-tests.php | 384 for ($i = 1; $i < $argc; $i++) { 386 $switch = substr($argv[$i], 1, 1); 387 $repeat = substr($argv[$i], 0, 1) == '-'; 443 $i--; 455 $conf_passed = $argv[++$i]; 503 $php = $argv[++$i]; 517 $output_file = $argv[++$i]; 547 $temp_source = $argv[++$i]; 550 $temp_target = $argv[++$i]; 594 $switch = $argv[$i]; [all …]
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_statement.c | 45 for (unsigned i = 0; i < column_count; i++) { in pdo_mysql_free_result() local 57 for (unsigned i = 0; i < column_count; i++) { in pdo_mysql_free_result() 169 for (int i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_after_execute_prepared() local 197 for (int i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_after_execute_prepared() local 586 for (unsigned i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_fetch() local 630 int i; in pdo_mysql_stmt_describe() local 649 for (i = 0; i < stmt->column_count; i++) { in pdo_mysql_stmt_describe() 652 cols[i].name = strpprintf(0, "%s.%s", S->fields[i].table, S->fields[i].name); in pdo_mysql_stmt_describe() 657 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0); in pdo_mysql_stmt_describe() 661 cols[i].precision = S->fields[i].decimals; in pdo_mysql_stmt_describe() [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | bug54494.phpt | 24 for ($i=0; $i < $length; $i++) { 25 $t = unpack("H*",mb_substr($string, $i, 1, $mode)); 40 for ($i=0; $i < $length; $i++) { 41 $t = unpack("H*",mb_substr($string, $i, 1, $mode));
|
/php-src/ext/pgsql/tests/ |
H A D | 26async_query_prepared.phpt | 48 for ($i=0; $i < $rows; $i++) 50 pg_fetch_array($result, $i, PGSQL_NUM); 52 for ($i=0; $i < $rows; $i++) 56 for ($i=0; $i < $rows; $i++) 58 pg_fetch_row($result, $i); 60 for ($i=0; $i < $rows; $i++) 62 pg_fetch_result($result, $i, 0);
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 498 for (i = 0; i < MAGIC_SETS; i++) { in apprentice_1() 531 for (i = 0; i < MAGIC_SETS; i++) in file_ms_free() 572 for (i = 0; i < MAGIC_SETS; i++) in file_ms_alloc() 631 for (i = 0; i < MAGIC_SETS; i++) { in mlist_free_all() 697 for (i = 0; i < MAGIC_SETS; i++) { in file_apprentice() 1393 for (i = 0; i < nme; i++) { in set_last_default() 1417 for (i = 0; i < nme; i++) in coalesce_entries() 1433 for (i = 0; i < nme; i++) { in coalesce_entries() 1448 for (i = 0; i < nme; i++) in magic_entry_free() 1522 for (i = 0; i < files; i++) { in apprentice_load() [all …]
|
/php-src/main/ |
H A D | safe_bcmp.c | 30 size_t i = 0; in php_safe_bcmp() local 38 while (i < ZSTR_LEN(a)) { in php_safe_bcmp() 39 r |= ua[i] ^ ub[i]; in php_safe_bcmp() 40 ++i; in php_safe_bcmp()
|
/php-src/ext/phar/tests/ |
H A D | bug13786.phpt | 12 for ($i = 0; $i < 2; $i++) { 16 $phar->addFromString($i, "file $i in $fname"); 17 var_dump(file_get_contents($phar[$i])); 22 echo("\nWritten files: $i\n");
|
/php-src/ext/random/tests/02_engine/ |
H A D | all_serialize_native.phpt | 18 for ($i = 0; $i < 10_000; $i++) { 24 for ($i = 0; $i < 10_000; $i++) { 26 die("failure: state differs at {$i}");
|
/php-src/ext/com_dotnet/ |
H A D | com_saproxy.c | 62 int i; in clone_indices() local 64 for (i = 0; i < ndims; i++) { in clone_indices() 65 ZVAL_DUP(&dest->indices[i], &src->indices[i]); in clone_indices() 103 for (i = 1; i < (UINT) proxy->dimensions; i++) { in saproxy_read_dimension() 104 args[i-1] = proxy->indices[i]; in saproxy_read_dimension() 169 for (i = 0; i < dims; i++) { in saproxy_read_dimension() 171 indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in saproxy_read_dimension() 220 for (i = 1; i < (UINT) proxy->dimensions; i++) { in saproxy_write_dimension() 246 for (i = 0; i < dims; i++) { in saproxy_write_dimension() 530 int i; in php_com_saproxy_iter_get() local [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug72688.phpt | 7 for ($i = 0; $i < 300; $i++) { 8 $pattern[] = "(?'group{$i}'{$i}$)";
|
/php-src/win32/build/ |
H A D | confutils.js | 201 for (i = 0; i < b.length; i++) { 299 for (i = 0; i < indent; i++) { 303 for (i = 0; i < words.length; i++) { 343 for (i = 0; i < args.length; i++) { 624 for (i = 0; i < env.length; i++) { 688 for (i = 0; i < dirs.length; i++) { 791 for (var i = 0; i < length; i++) { 1657 for (i = 0; i < dirs.length; i++) { 1879 for (i = 0; i < l; i++) { 1902 for (i=0; i < ar_out.length; i++) { [all …]
|
/php-src/ext/hash/ |
H A D | hash_gost.c | 35 r = h[i]; \ 36 l = h[i + 1]; \ 122 s[i] = r; \ 208 int i; in Gost() local 214 for (i = 0; i < 8; i += 2) { in Gost() 225 int i, j; in GostTransform() local 228 for (i = 0, j = 0; i < 8; ++i, j += 4) { in GostTransform() 231 context->state[i + 8] += data[i] + temp; in GostTransform() 232 temp = context->state[i + 8] < data[i] ? 1 : (context->state[i + 8] == data[i] ? temp : 0); in GostTransform() 274 for (; i + 32 <= len; i += 32) { in PHP_GOSTUpdate() [all …]
|