Home
last modified time | relevance | path

Searched refs:i (Results 251 – 275 of 2297) sorted by relevance

1...<<11121314151617181920>>...92

/php-src/tests/lang/operators/
H A Doperator_notequals_variation_64bit.phpt32 for ($i = 0; $i < count($validNotEquals); $i +=2) {
33 $typeToTestVal = $validNotEquals[$i];
34 $compares = $validNotEquals[$i + 1];
46 for ($i = 0; $i < count($invalidNotEquals); $i +=2) {
47 $typeToTestVal = $invalidNotEquals[$i];
48 $compares = $invalidNotEquals[$i + 1];
H A Doperator_notidentical_variation.phpt30 for ($i = 0; $i < count($validNotIdentical); $i +=2) {
31 $typeToTestVal = $validNotIdentical[$i];
32 $compares = $validNotIdentical[$i + 1];
44 for ($i = 0; $i < count($invalidNotIdentical); $i +=2) {
45 $typeToTestVal = $invalidNotIdentical[$i];
46 $compares = $invalidNotIdentical[$i + 1];
H A Doperator_notidentical_variation_64bit.phpt32 for ($i = 0; $i < count($validNotIdentical); $i +=2) {
33 $typeToTestVal = $validNotIdentical[$i];
34 $compares = $validNotIdentical[$i + 1];
46 for ($i = 0; $i < count($invalidNotIdentical); $i +=2) {
47 $typeToTestVal = $invalidNotIdentical[$i];
48 $compares = $invalidNotIdentical[$i + 1];
/php-src/ext/opcache/tests/opt/
H A Dfe_fetch_001.phpt11 for ($i = 0; $i < 77; $i++) {
12 for ($i = 5; $i <= 1; $i++)
/php-src/Zend/tests/
H A Dbug47353.phpt12 for($i = 1; $i <= 3000; $i++) {
13 if(!isset($myArray[$i]))
14 $myArray[$i] = array();
15 $ref = & $myArray[$i];
/php-src/Zend/Optimizer/
H A Dzend_cfg.c38 int i; in zend_mark_reachable() local
47 for (i = 0; i < b->successors_count; i++) { in zend_mark_reachable()
231 int i; in zend_cfg_remark_reachable_blocks() local
234 for (i = 0; i < cfg->blocks_count; i++) { in zend_cfg_remark_reachable_blocks()
237 i++; in zend_cfg_remark_reachable_blocks()
243 for (i = 0; i < cfg->blocks_count; i++) { in zend_cfg_remark_reachable_blocks()
272 uint32_t i; in zend_build_cfg() local
287 for (i = 0; i < op_array->last; i++) { in zend_build_cfg()
477 for (i = 0; i < op_array->last; i++) { in zend_build_cfg()
832 i = j; in zend_cfg_identify_loops()
[all …]
/php-src/ext/random/tests/01_functions/
H A Drand_basic.phpt7 echo "\nrand() tests with default min and max value (i.e 0 thru ", $default_max, ")\n";
8 for ($i = 0; $i < 100; $i++) {
17 if ($i != 100) {
38 for ($i = 0; $i < 100; $i++) {
47 if ($i == 100) {
54 rand() tests with default min and max value (i.e 0 thru %i)
55 PASSED: range min = 0 max = %i
/php-src/ext/opcache/
H A Dzend_persist.c185 for (i = 0; i < list->children; i++) { in zend_persist_ast()
194 for (i = 0; i < children; i++) { in zend_persist_ast()
300 for (i = 0; i < copy->argc; i++) { in zend_persist_attributes()
625 for (i = 0; i < num_args; i++) { in zend_persist_op_array_ex()
661 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_ex()
937 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
1044 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry()
1054 for (i = 0; i < ce->num_traits; i++) { in zend_persist_class_entry()
1147 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
1334 for (uint32_t i = 0; i < num_warnings; i++) { in zend_persist_warnings() local
[all …]
/php-src/ext/date/tests/
H A DDatePeriod_IteratorAggregate.phpt7 foreach ($period as $i => $date) {
8 echo "$i: ", $date->format('Y-m-d'), "\n";
12 foreach ($period->getIterator() as $i => $date) {
13 echo "$i: ", $date->format('Y-m-d'), "\n";
19 $i = $iter->key();
21 echo "$i: ", $date->format('Y-m-d'), "\n";
27 $i = $iter->key();
29 echo "$i: ", $date->format('Y-m-d'), "\n";
43 foreach ($period as $i => $date) {
56 foreach ($period as $i => $notDate) {
[all …]
H A Dbug52113.phpt24 'i' => 3,
45 ["i"]=>
58 …teInterval":10:{s:1:"y";i:0;s:1:"m";i:0;s:1:"d";i:0;s:1:"h";i:4;s:1:"i";i:0;s:1:"s";i:0;s:1:"f";d:…
64 'i' => 0,
79 ["i"]=>
116 ["i"]=>
145 ["i"]=>
182 ["i"]=>
H A Dbug68942_2.phpt5 …ze('a:2:{i:0;O:8:"DateTime":3:{s:4:"date";s:26:"2000-01-01 00:00:00.000000";s:13:"timezone_type";a…
12 #1 %sbug68942_2.php(%d): unserialize('a:2:{i:0;O:8:"D...')
H A Dbug73294.phpt5 for ( $i = -1050; $i <= -1000; $i++ )
10 $dt = new DateTime("{$i}-{$M}-{$D} 00:00:00");
11 $expected = "{$i}-{$M}-{$D} 00:00:00";
12 $result = $dt->format('Y-m-d H:i:s');
/php-src/ext/standard/
H A Dcrypt_blowfish.c580 for (i = 0; i < BF_N + 2; i++) { in BF_set_key()
603 initial[i] = BF_init_state.P[i] ^ tmp[bug]; in BF_set_key()
655 int i; in BF_crypt() local
688 for (i = 0; i < BF_N + 2; i += 2) { in BF_crypt()
692 data.ctx.P[i] = L; in BF_crypt()
715 for (i = 0; i < BF_N + 2; i += 2) { in BF_crypt()
716 data.ctx.P[i] ^= data.expanded_key[i]; in BF_crypt()
717 data.ctx.P[i + 1] ^= data.expanded_key[i + 1]; in BF_crypt()
731 for (i = 0; i < BF_N; i += 4) { in BF_crypt()
742 for (i = 0; i < 6; i += 2) { in BF_crypt()
[all …]
/php-src/ext/gd/libgd/
H A Dgd_gd.c24 int i; in _gdGetColors() local
68 for (i = 0; i < gdMaxColors; i++) { in _gdGetColors()
69 if (!gdGetByte(&im->red[i], in)) { in _gdGetColors()
72 if (!gdGetByte(&im->green[i], in)) { in _gdGetColors()
75 if (!gdGetByte(&im->blue[i], in)) { in _gdGetColors()
79 if (!gdGetByte(&im->alpha[i], in)) { in _gdGetColors()
85 for (i = 0; i < im->colorsTotal; i++) { in _gdGetColors()
86 im->open[i] = 0; in _gdGetColors()
214 int i; in _gdPutColors() local
222 for (i = 0; i < gdMaxColors; i++) { in _gdPutColors()
[all …]
/php-src/ext/dom/tests/
H A DDOMElement_append_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
59 echo "-- Append world's i tag with the parent --\n";
85 string(39) "<p><b>hello<b><i>world</i></b></b></p>
88 string(39) "<p><b>hello<i>world</i></b><b></b></p>
91 string(42) "<p><b>hello<i>world</i>foo</b><b></b></p>
94 string(39) "<p><b><i>world<b>hello</b></i></b></p>
98 string(39) "<p><b>hello</b><b><i>world</i></b></p>
102 string(27) "<p><b><i>world</i></b></p>
104 -- Append world's i tag with the parent --
106 string(39) "<p><b>hello</b><b><i>world</i></b></p>
[all …]
/php-src/sapi/phpdbg/tests/
H A Dbreakpoints_003.phpt19 >00005: echo $i++;
20 00006: echo $i++;
28 $i = 1;
29 echo $i++;
30 echo $i++;
31 echo $i++;
32 echo $i++;
/php-src/ext/standard/tests/array/
H A Darray_chunk_variation22.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/standard/tests/serialize/
H A Dbug69425.phpt17 $data = unserialize('a:2:{i:0;O:4:"test":1:{s:4:"ryat";R:1;}i:1;i:2;}');
21 $data = unserialize('a:2:{i:0;O:12:"DateInterval":1:{s:1:"y";R:1;}i:1;i:2;}');
38 ["i"]=>
H A Dbug73341.phpt6 $token = 'a:2:{i:0;O:1:"0":2:{s:1:"0";i:0;s:1:"0";a:1:{i:0;C:11:"ArrayObject":7:{x:i:0;r}';
13 $token = 'a:2:{i:0;O:1:"0":2:0s:1:"0";i:0;s:1:"0";a:1:{i:0;C:11:"ArrayObject":7:{x:i:0;r}';
20 $inner = 'x:i:1;O:8:"stdClass":1:{};m:a:0:{}';
H A Dbug74103.phpt5 var_dump(unserialize('a:7:{i:0;i:04;s:1:"a";i:2;i:9617006;i:4;s:1:"a";i:4;s:1:"a";R:5;s:1:"7";R:3;s…
/php-src/Zend/tests/dynamic_call/
H A Ddynamic_call_005.phpt7 $i = 1;
10 array_map($func, [['i' => new stdClass]]);
11 var_dump($i);
17 $func(['i' => new stdClass]);
18 var_dump($i);
24 call_user_func($func, ['i' => new stdClass]);
25 var_dump($i);
/php-src/ext/random/tests/03_randomizer/
H A Dserialize.phpt28 for ($i = 0; $i < 10_000; $i++) {
29 $randomizer->getInt(0, $i);
34 for ($i = 0; $i < $iterations; $i++) {
35 if ($randomizer->getInt(0, $i) !== $randomizer2->getInt(0, $i)) {
38 die("failure: state differs at {$i}");
/php-src/ext/hash/
H A Dhash_sha_ni.c94 #define MSG4(W, i) do { \ argument
95 W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
96 W[(i + 0) % 4] = _mm_add_epi32(W[(i + 0) % 4], \
97 _mm_alignr_epi8(W[(i + 3) % 4], W[(i + 2) % 4], 4)); \
98 W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
102 #define RNDMSG(S, W, i, K0, K1, K2, K3) do { \ argument
103 RND4(S, W[i % 4], K0, K1, K2, K3); \
104 if (i < 12) \
105 MSG4(W, i + 4); \
/php-src/ext/soap/tests/bugs/
H A Dbug75306.phpt9 for ($i = 0; $i < 10; $i++) {
13 for ($i = 0; $i < 10; $i++) {
/php-src/ext/calendar/tests/
H A Djdtojewish_overflow.phpt9 for ($i=324542840; $i<324542850; $i++) {
10 echo $i, ':', jdtojewish($i), PHP_EOL;

Completed in 72 milliseconds

1...<<11121314151617181920>>...92