Home
last modified time | relevance | path

Searched refs:i (Results 201 – 225 of 2297) sorted by relevance

12345678910>>...92

/php-src/ext/standard/tests/array/
H A Darray_chunk_variation24.phpt7 for ($i = 1; $i < (sizeof($array) + 1); $i++) {
8 echo "[$i]\n";
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
/php-src/ext/spl/tests/SplObjectStorage/
H A DSplObjectStorage_unserialize_nested.phpt22 O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:8:"stdClass":1:{s:1:"a";O:8:"stdClass":0:{}}i:1;i:1;i:2;r…
/php-src/Zend/tests/generators/
H A Dxrange.phpt7 for ($i = $start; $i <= $end; $i += $step) {
8 yield $i;
12 foreach (xrange(10, 20, 2) as $i) {
13 var_dump($i);
/php-src/tests/lang/operators/
H A Doperator_gt_variation_64bit.phpt29 for ($i = 0; $i < count($validGreaterThan); $i +=2) {
30 $typeToTestVal = $validGreaterThan[$i];
31 $compares = $validGreaterThan[$i + 1];
43 for ($i = 0; $i < count($invalidGreaterThan); $i +=2) {
44 $typeToTestVal = $invalidGreaterThan[$i];
45 $compares = $invalidGreaterThan[$i + 1];
H A Doperator_lt_variation_64bit.phpt27 for ($i = 0; $i < count($validLessThan); $i +=2) {
28 $typeToTestVal = $validLessThan[$i];
29 $compares = $validLessThan[$i + 1];
41 for ($i = 0; $i < count($invalidLessThan); $i +=2) {
42 $typeToTestVal = $invalidLessThan[$i];
43 $compares = $invalidLessThan[$i + 1];
H A Doperator_gt_or_equal_variation_64bit.phpt30 for ($i = 0; $i < count($validGtOrEqual); $i +=2) {
31 $typeToTestVal = $validGtOrEqual[$i];
32 $compares = $validGtOrEqual[$i + 1];
44 for ($i = 0; $i < count($invalidGtOrEqual); $i +=2) {
45 $typeToTestVal = $invalidGtOrEqual[$i];
46 $compares = $invalidGtOrEqual[$i + 1];
H A Doperator_lt_or_equal_variation.phpt30 for ($i = 0; $i < count($validLtOrEqual); $i +=2) {
31 $typeToTestVal = $validLtOrEqual[$i];
32 $compares = $validLtOrEqual[$i + 1];
44 for ($i = 0; $i < count($invalidLtOrEqual); $i +=2) {
45 $typeToTestVal = $invalidLtOrEqual[$i];
46 $compares = $invalidLtOrEqual[$i + 1];
H A Doperator_lt_or_equal_variation_64bit.phpt30 for ($i = 0; $i < count($validLtOrEqual); $i +=2) {
31 $typeToTestVal = $validLtOrEqual[$i];
32 $compares = $validLtOrEqual[$i + 1];
44 for ($i = 0; $i < count($invalidLtOrEqual); $i +=2) {
45 $typeToTestVal = $invalidLtOrEqual[$i];
46 $compares = $invalidLtOrEqual[$i + 1];
H A Doperator_equals_variation.phpt30 for ($i = 0; $i < count($validEqual); $i +=2) {
31 $typeToTestVal = $validEqual[$i];
32 $compares = $validEqual[$i + 1];
44 for ($i = 0; $i < count($invalidEqual); $i +=2) {
45 $typeToTestVal = $invalidEqual[$i];
46 $compares = $invalidEqual[$i + 1];
/php-src/ext/random/tests/03_randomizer/
H A Dgh_9186_unserialize.phpt7i:0;a:2:{s:3:"foo";N;s:6:"engine";O:32:"Random\Engine\Xoshiro256StarStar":2:{i:0;a:0:{}i:1;a:4:{i:…
/php-src/ext/mbstring/tests/
H A Dillformed_utf_sequences.phpt59 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
85 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
86 … $s = chk_enc(pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0xff), 1, "UTF-32BE");
98 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
99 …$s = chk_enc(pack('C4', $i & 0xff, ($i >> 8) & 0xff, ($i >> 16) & 0xff, ($i >> 24) & 0xff), 1, "UT…
111 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
112 $s = chk_enc(pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0xff), 1, "UTF-32");
126 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
127 …$s = chk_enc("\x00\x00\xfe\xff". pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0x…
140 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
[all …]
H A Diso2022jp_encoding.phpt61 for ($i = 0; $i < 0x80; $i++) {
62 if ($i == 0xE || $i == 0xF || $i == 0x1B)
71 for ($i = 0x80; $i < 256; $i++) {
98 for ($i = 0x80; $i < 256; $i++) {
99 if ($i >= 0xA1 && $i <= 0xDF)
114 for ($i = 0x21; $i <= 0x7E; $i++) {
125 for ($i = 0x21; $i <= 0x7E; $i++) {
144 for ($i = 0x21; $i <= 0x7E; $i++) {
154 for ($i = 0x21; $i <= 0x7E; $i++) {
167 for ($i = 0; $i <= 0xFF; $i++) {
[all …]
/php-src/ext/ffi/tests/
H A D032.phpt17 uint8_t i[9];
20 for ($i = -5; $i < 9; $i++) {
21 $p->s->c = $i;
22 $p->s->d = $i;
23 echo "$i => 3-bit int {$p->s->c}, 3-bit uint {$p->s->d}\n";
30 for ($i = 9; $i > 0;) {
31 printf("%02x", $p->i[--$i]);
/php-src/ext/standard/
H A Dpack.c97 for (i = 0; i < size; i++) { in php_pack()
144 m.i = php_pack_reverse_int32(m.i); in php_pack_copy_float()
148 m.i = php_pack_reverse_int32(m.i); in php_pack_copy_float()
167 m.i = php_pack_reverse_int64(m.i); in php_pack_copy_double()
270 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
382 for (i = 0; i < formatcount; i++) { in PHP_FUNCTION()
465 for (i = 0; i < formatcount; i++) { in PHP_FUNCTION()
877 for (i = 0; i != repetitions; i++ ) { in PHP_FUNCTION()
1212 for (i = 0; i < (int)sizeof(int); i++) { in PHP_MINIT_FUNCTION()
1213 int_map[i] = i; in PHP_MINIT_FUNCTION()
[all …]
/php-src/ext/dba/tests/
H A Ddba_cdb_read.phpt29 for ($i=1; $i<8; $i++) {
30 echo dba_exists($i, $db_file) ? "Y" : "N";
46 for ($i=0; $i < strlen($keys); $i++) {
47 $key = substr($keys, $i, 1);
52 for ($i=0; $i < strlen($keys); $i++) {
53 $key = substr($keys, $i, 1);
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_table_text.c83 for (size_t i = 0; i < lexbor_array_obj_length(pt_list); i++) { in lxb_html_tree_insertion_mode_in_table_text() local
84 text = lexbor_array_obj_get(pt_list, i); in lxb_html_tree_insertion_mode_in_table_text()
98 for (size_t i = 0; i < lexbor_array_obj_length(pt_list); i++) { in lxb_html_tree_insertion_mode_in_table_text() local
99 text = lexbor_array_obj_get(pt_list, i); in lxb_html_tree_insertion_mode_in_table_text()
122 for (size_t i = 0; i < lexbor_array_obj_length(pt_list); i++) { in lxb_html_tree_insertion_mode_in_table_text_erase() local
123 text = lexbor_array_obj_get(pt_list, i); in lxb_html_tree_insertion_mode_in_table_text_erase()
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_070.phpt13 public static int $i = 0;
27 Foo::$i += stringRef();
28 var_dump(Foo::$i);
31 Foo::$i += PHP_INT_MAX;
33 var_dump(Foo::$i);
36 Foo::$i .= PHP_INT_MAX;
38 var_dump(Foo::$i);
46 Cannot assign float to property Foo::$i of type int
48 Cannot assign string to property Foo::$i of type int
/php-src/ext/hash/
H A Dhash_snefru.c34 int i; in ph() local
35 for (i = 0; i < 16; i++) in ph()
36 printf ("%08lx", h[i]); printf("\n"); in ph()
121 int i, j; in SnefruTransform() local
123 for (i = 0, j = 0; i < 32; i += 4, ++j) { in SnefruTransform()
124 context->state[8+j] = ((unsigned)input[i] << 24) | ((unsigned)input[i+1] << 16) | in SnefruTransform()
125 ((unsigned)input[i+2] << 8) | (unsigned)input[i+3]; in SnefruTransform()
155 i = 32 - context->length; in PHP_SNEFRUUpdate()
160 for (; i + 32 <= len; i += 32) { in PHP_SNEFRUUpdate()
172 uint32_t i, j; in PHP_SNEFRUFinal() local
[all …]
H A Dhash_md.c84 for (i = 0, j = 0; j < len; i++, j += 4) { in Encode()
101 for (i = 0, j = 0; j < len; i++, j += 4) in Decode()
208 size_t i; in PHP_MD4Update() local
227 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_MD4Update()
233 i = 0; in PHP_MD4Update()
300 for(i = 0; i < 16; i++) { in MD2_Transform()
301 context->state[16+i] = block[i]; in MD2_Transform()
302 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform()
305 for(i = 0; i < 18; i++) { in MD2_Transform()
309 t += i; in MD2_Transform()
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_check.c91 ir_ref i, j, n, *p, use; in ir_check() local
97 for (i = IR_UNUSED + 1, insn = ctx->ir_base + i; i < ctx->insns_count;) { in ir_check()
129 && use >= i in ir_check()
197 fprintf(stderr, "ir_base[%d].ops[%d] -> %d, %d doesn't dominate %d\n", i, j, use, use, i); in ir_check()
216 && use >= i in ir_check()
250 && !ir_check_use_list(ctx, use, i)) { in ir_check()
270 i, ir_type_name[type]); in ir_check()
297 ir_use_list *use_list = &ctx->use_lists[i]; in ir_check()
302 if (!ir_check_input_list(ctx, i, use)) { in ir_check()
366 i, ir_op_name[insn->op], count); in ir_check()
[all …]
/php-src/ext/spl/tests/
H A Dbug50579.phpt15 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
16 $i->replacement = '[$0]';
17 foreach ($i as $name=>$value) {
21 $i->replacement = '$1';
22 foreach ($i as $name=>$value) {
27 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
28 $i->replacement = '[$1]';
29 foreach ($i as $name=>$value) {
/php-src/Zend/tests/
H A Dbug71859.phpt10 for ($i = 0; $i < 10000; ++$i) {
11 $GLOBALS["a$i"] = new stdClass;
23 for ($i = 0; $i < 200; ++$i) {
24 $GLOBALS["b$i"] = new stdClass;
/php-src/ext/date/tests/
H A Dbug80047.phpt14 $i = new DateInterval('P1D');
17 [ $dt, $i, $cdt ],
18 [ $cdt, $i, $dt ],
19 [ $cdt, $i, $cdt ],
20 [ $dti, $i, $cdti ],
21 [ $cdti, $i, $dti ],
22 [ $cdti, $i, $cdti ],
23 [ $cdt, $i, $cdti ],
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetInt.phpt31 for ($i = 0; $i < $iterations; $i++) {
32 $result = $randomizer->getInt(-$i, $i);
34 if ($result > $i || $result < -$i) {
35 die("failure: out of range at {$i}");
40 for ($i = 0; $i < $iterations; $i++) {
/php-src/ext/random/tests/02_engine/
H A Dxoshiro256starstar_serialize.phpt12 …\Xoshiro256StarStar":2:{i:0;a:0:{}i:1;a:4:{i:0;s:16:"db1c182f1bf60cbb";i:1;s:16:"2465f04d36a1c797"…

Completed in 48 milliseconds

12345678910>>...92