/php-src/ext/standard/html_tables/ |
H A D | html_table_gen.php | 194 for ($i = 0; $i < 4; $i++) { variable 205 for ($i = 0; $i < 4; $i++) { variable 531 for ($i = 0; $i < 0x1E; $i++) { variable 600 for ($i = 0; $i < 0x1E; $i++) { variable 627 for ($i = 0; $i < 0x1E; $i++) { variable 628 if (isset($mstable[$i])) 750 for ($i = 0; $i < $numelems; $i++) { variable 751 if (empty($hashes[$i])) 770 for ($i = 0; $i < $numelems; $i++) { variable 771 if ($i == 0) echo "\t"; [all …]
|
/php-src/ext/gd/libgd/ |
H A D | gd_png.c | 264 for (i = 0; i < num_trans; ++i) { in gdImageCreateFromPngCtx() 284 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 290 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 291 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx() 364 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx() 571 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx() 577 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx() 657 for (i = 0; i < im->colorsTotal; i++) { in gdImagePngCtxEx() 685 for (i = 0; i < colors; ++i) { in gdImagePngCtxEx() 727 for (i = 0; i < width; ++i) { in gdImagePngCtxEx() [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | str.c | 194 for (i = 0; i < length; i++) { in lexbor_str_append_lowercase() 271 for (i = 0; i < target->length; i++) { in lexbor_str_stay_only_whitespace() 295 for (i = 0, offset = 0, ws_i = 0; i < target->length; i++) in lexbor_str_strip_collapse_whitespace() 333 for (i = 0; i < target->length; i++) { in lexbor_str_crop_whitespace_from_begin() 353 for (i = 0; i < target->length; i++) { in lexbor_str_whitespace_from_begin() 389 for (i = 0; i < sec_size; i++) { in lexbor_str_data_ncasecmp_first() 425 for (size_t i = 0; what_size <= (where_size - i); i++) { in lexbor_str_data_ncasecmp_contain() local 438 for (size_t i = 0; i < size; i++) { in lexbor_str_data_ncasecmp() local 453 for (size_t i = 0; i < size; i++) { in lexbor_str_data_nlocmp_right() local 466 for (size_t i = 0; i < size; i++) { in lexbor_str_data_nupcmp_right() local [all …]
|
/php-src/Zend/ |
H A D | zend_stack.c | 101 int i; in zend_stack_apply() local 105 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 106 if (apply_function(ZEND_STACK_ELEMENT(stack, i))) { in zend_stack_apply() 112 for (i=0; i<stack->top; i++) { in zend_stack_apply() 113 if (apply_function(ZEND_STACK_ELEMENT(stack, i))) { in zend_stack_apply() 124 int i; in zend_stack_apply_with_argument() local 128 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply_with_argument() 135 for (i=0; i<stack->top; i++) { in zend_stack_apply_with_argument() 146 int i; in zend_stack_clean() local 149 for (i = 0; i < stack->top; i++) { in zend_stack_clean() [all …]
|
H A D | zend_sort.c | 114 for (i = start + siz; i < sentry; i += siz) { in zend_insert_sort() 115 j = i - siz; in zend_insert_sort() 130 for (i = sentry; i < end; i += siz) { in zend_insert_sort() 131 j = i - siz; in zend_insert_sort() 255 char *i, *j; in zend_sort() local 273 i += siz; in zend_sort() 288 swp(i, j); in zend_sort() 289 i += siz; in zend_sort() 296 if ((i - siz) - start < end - i) { in zend_sort() 298 base = i; in zend_sort() [all …]
|
/php-src/sapi/phpdbg/tests/ |
H A D | breakpoints_002.phpt | 17 >00004: echo $i++; 18 00005: echo $i++; 19 00006: echo $i++; 22 >00003: echo $i++; 23 00004: echo $i++; 24 00005: echo $i++; 35 $i = 1; 36 echo $i++; 37 echo $i++; 38 echo $i++; [all …]
|
H A D | breakpoints_001.phpt | 14 >00003: echo $i++; 15 00004: echo $i++; 16 00005: echo $i++; 20 >00004: echo $i++; 21 00005: echo $i++; 22 00006: echo $i++; 28 $i = 1; 29 echo $i++; 30 echo $i++; 31 echo $i++; [all …]
|
/php-src/ext/opcache/ |
H A D | shared_alloc_shm.c | 55 int i; in create_segments() local 95 for (i = 0; i < *shared_segments_count; i++) { in create_segments() 96 (*shared_segments_p)[i] = shared_segments + i; in create_segments() 100 for (i = 0; i < *shared_segments_count; i++) { in create_segments() 102 if (i != 0) { in create_segments() 105 shared_segments[i].shm_id = first_segment_id; in create_segments() 108 if (shared_segments[i].shm_id == -1) { in create_segments() 112 shared_segments[i].common.p = shmat(shared_segments[i].shm_id, NULL, 0); in create_segments() 113 if (shared_segments[i].common.p == (void *)-1) { in create_segments() 120 shared_segments[i].common.pos = 0; in create_segments() [all …]
|
H A D | zend_shared_alloc.c | 140 for (i = 0; i < count; i++) { in copy_shared_segments() 165 for (i = 0; i < *shared_segments_count; i++) { in zend_shared_alloc_try() 254 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_startup() 326 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_shutdown() 348 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_get_largest_free_block() 378 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc() 599 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_save_state() 609 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_restore_state() 633 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_accel_shared_protect() 645 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_accel_shared_protect() [all …]
|
H A D | zend_persist_calc.c | 83 for (i = 0; i < list->children; i++) { in zend_persist_ast_calc() 91 for (i = 0; i < children; i++) { in zend_persist_ast_calc() 172 for (i = 0; i < attr->argc; i++) { in zend_persist_attributes_calc() 273 for (i = 0; i < num_args; i++) { in zend_persist_op_array_calc_ex() 301 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_calc_ex() 436 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry_calc() 444 for (i = 0; i < ce->default_static_members_count; i++) { in zend_persist_class_entry_calc() 502 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc() 513 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry_calc() 572 for (uint32_t i = 0; i < num_warnings; i++) { in zend_persist_warnings_calc() local [all …]
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | compatibility_mt_rand.phpt | 14 for ($i = 0; $i < 10_000; $i++) { 16 die("failure: state differs at {$i} for nextInt()"); 20 for ($i = 0; $i < 10_000; $i++) { 21 if ($randomizer->getInt(0, $i) !== mt_rand(0, $i)) { 22 die("failure: state differs at {$i} for getInt()"); 31 for ($i = 0; $i < 10_000; $i++) { 33 die("failure: state differs at {$i} for nextInt()"); 37 for ($i = 0; $i < 10_000; $i++) { 38 if ($randomizer->getInt(0, $i) !== mt_rand(0, $i)) { 39 die("failure: state differs at {$i} for getInt()");
|
/php-src/Zend/tests/ |
H A D | gc_023.phpt | 8 for ($i=0; $i < 9999; $i++) { 9 $a[$i] = array(array()); 10 $a[$i][0] = & $a[$i]; 16 for ($i=0; $i < 10001; $i++) { 17 $a[$i] = array(array()); 18 $a[$i][0] = & $a[$i];
|
H A D | bug40809.phpt | 14 for ($i=0; $i<$num; $i++) { 15 $a[$i] = Array(1); 17 for ($i=0; $i<$num; $i++) { 18 $b[$i] = $a[$i][0]; 22 for ($i=0;$i<$num_repeats;$i++) {
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_getElementsByTagName_liveness_simplexml.phpt | 10 $doc->loadXML( '<root><e i="1"/><e i="2"/><e i="3"/><e i="4"/><e i="5"/><e i="6"/><e i="7"/><e i="8… 12 print $list->item(5)->getAttribute('i')."\n"; 18 print $list->item(5)->getAttribute('i')."\n"; 21 print $list->item(5)->getAttribute('i')."\n";
|
H A D | DOMDocument_getElementsByTagName_liveness.phpt | 8 …<e i="1"/><e i="2"/><e i="3"/><e i="4"/><e i="5"/><e i="6"/><e i="7"/><e i="8"/><e i="9"/><e i="10… 11 $i = 0; 17 Now the loop starts, the current element is marked with a V. $i == 0: 20 1 gets printed. $i == 0, which is even, so 1 gets removed, which results in: 28 3 gets printed. $i == 1, which is odd, so nothing happens and we move on to the next element: 31 4 gets printed. $i == 2, which is even, so 4 gets removed, which results in: 40 print $node->getAttribute('i') . ' '; 41 if ($i++ % 2 == 0)
|
/php-src/ext/standard/tests/serialize/ |
H A D | serialization_arrays_005.phpt | 85 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;i:1;}}" 154 string(48) "a:3:{i:0;i:1;i:1;a:2:{i:0;i:1;i:1;R:2;}i:2;i:1;}" 223 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}" 292 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:3;i:1;i:1;}}" 361 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}" 430 string(74) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;i:1;i:1;a:3:{i:0;i:1;i:1;i:1;i:2;R:4;}}}"
|
H A D | bug68976.phpt | 20 $data = unserialize('a:2:{i:0;O:9:"evilClass":1:{s:4:"name";a:2:{i:0;i:1;i:1;i:2;}}i:1;R:4;}'); 22 for($i = 0; $i < 5; $i++) { 23 $v[$i] = $fakezval.$i;
|
H A D | serialization_arrays_004.phpt | 53 string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;i:1;i:2;i:1;}i:1;i:1;i:2;i:1;}" 104 string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;R:2;i:2;i:1;}i:1;R:2;i:2;i:1;}" 162 string(56) "a:3:{i:0;a:3:{i:0;R:2;i:1;R:2;i:2;R:2;}i:1;R:2;i:2;R:2;}"
|
H A D | serialization_arrays_002.phpt | 102 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;i:1;}" 146 string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;i:1;}" 190 string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;i:1;}" 234 string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;i:1;}" 278 string(30) "a:3:{i:0;i:1;i:2;i:1;i:1;R:3;}" 322 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:2;}" 366 string(30) "a:3:{i:0;i:1;i:1;i:1;i:2;R:3;}" 410 string(30) "a:3:{i:2;i:1;i:0;R:2;i:1;R:2;}" 454 string(30) "a:3:{i:1;i:1;i:0;R:2;i:2;R:2;}" 498 string(30) "a:3:{i:0;i:1;i:1;R:2;i:2;R:2;}"
|
/php-src/ext/standard/tests/file/ |
H A D | bug26938.phpt | 12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 23 for ($i=0;$i<6;$i++) 24 print "md5(line $i)= " . md5($out[$i]) . " (length " . 25 strlen($out[$i]) . ")\n";
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_dump.c | 17 for (i = 1 - ctx->consts_count, insn = ctx->ir_base + i; i < IR_UNUSED; i++, insn++) { in ir_dump() 23 for (i = IR_UNUSED + 1, insn = ctx->ir_base + i; i < ctx->insns_count; i++, insn++) { in ir_dump() 66 for (i = 1 - ctx->consts_count, insn = ctx->ir_base + i; i < IR_UNUSED; i++, insn++) { in ir_dump_dot() 222 for (i = 1; i < bb->successors_count; i++) { in ir_dump_cfg_block() 231 for (i = 1; i < bb->predecessors_count; i++) { in ir_dump_cfg_block() 291 for (i = 0; i < count; i++, pos++) { in ir_dump_cfg_block() 309 for (i = 1; i <= bb_count; i++) { in ir_dump_cfg() 345 for (i = 0; i <= ctx->vregs_count; i++) { in ir_dump_live_ranges() 455 for (i = ctx->vregs_count + 1; i <= n; i++) { in ir_dump_live_ranges() 539 for (i = 1; i < bb->predecessors_count; i++) { in ir_dump_codegen() [all …]
|
/php-src/ext/zip/examples/ |
H A D | get_set_comments.php | 9 for ($i=0; $i<$z->numFiles; $i++) { variable 10 echo "index: $i\n"; 11 print_r($z->getCommentIndex($i)); 24 for ($i=0; $i<$z->numFiles; $i++) { variable 25 echo "index: $i\n"; 26 print_r($z->getCommentIndex($i));
|
/php-src/tests/basic/ |
H A D | precision.phpt | 87 string(89) "a:4:{i:0;d:123456789.01234567;i:1;d:3.3333333333333335;i:2;d:9.87E+102;i:3;d:10.0000001… 99 string(60) "a:4:{i:0;d:1.0E+8;i:1;d:3.0E+0;i:2;d:1.0E+103;i:3;d:1.0E+1;}" 111 string(72) "a:4:{i:0;d:123456789;i:1;d:3.33333333;i:2;d:9.87E+102;i:3;d:10.0000001;}" 123 string(83) "a:4:{i:0;d:123456789.01235;i:1;d:3.3333333333333;i:2;d:9.87E+102;i:3;d:10.0000001;}" 135 string(111) "a:4:{i:0;d:123456789.01234567;i:1;d:3.3333333333333335;i:2;d:9.8700000000000007E+102;i… 147 string(141) "a:4:{i:0;d:123456789.0123456716537476;i:1;d:3.33333333333333348136307;i:2;d:9.87000000… 159 …i:0;d:123456789.01234567165374755859375;i:1;d:3.33333333333333348136306995002087205648422241210937…
|
/php-src/ext/phar/ |
H A D | makestub.php | 57 foreach ($s1split as $i => $chunk) { 63 $s1split[$i] .= $s1split[$i + 1][0]; 67 foreach ($s3split as $i => $chunk) { 73 $s3split[$i] .= $s3split[$i + 1][0]; 79 foreach ($s1split as $i => $chunk) { 80 $s1count = $i + 1; 86 foreach ($s3split as $i => $chunk) { 87 $s3count = $i + 1; 95 foreach ($s1split as $i => $unused) { 96 $stub .= ', newstub1_' . $i; [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 100 size_t i; in cdf_clsid_to_mime() local 101 for (i = 0; cv[i].mime != NULL; i++) { in cdf_clsid_to_mime() 111 size_t i; in cdf_app_to_mime() local 116 for (i = 0; nv[i].pattern != NULL; i++) { in cdf_app_to_mime() 138 size_t i; in cdf_file_property_info() local 152 for (i = 0; i < count; i++) { in cdf_file_property_info() 270 for (i = 1; i < cat->cat_num; i++) in cdf_file_catalog() 362 int i; in cdf_file_catalog_info() local 381 int i; in cdf_check_summary_info() local 414 i = 1; in cdf_check_summary_info() [all …]
|