/php-src/tests/lang/operators/ |
H A D | operator_notidentical_variation.phpt | 30 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 D | operator_notidentical_variation_64bit.phpt | 32 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/standard/ |
H A D | crypt_blowfish.c | 580 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/random/tests/01_functions/ |
H A D | rand_basic.phpt | 7 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/date/tests/ |
H A D | DatePeriod_IteratorAggregate.phpt | 7 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 D | bug52113.phpt | 24 '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 D | bug68942_2.phpt | 5 …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 D | bug73294.phpt | 5 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/opcache/tests/opt/ |
H A D | fe_fetch_001.phpt | 11 for ($i = 0; $i < 77; $i++) { 12 for ($i = 5; $i <= 1; $i++)
|
/php-src/Zend/tests/ |
H A D | bug47353.phpt | 12 for($i = 1; $i <= 3000; $i++) { 13 if(!isset($myArray[$i])) 14 $myArray[$i] = array(); 15 $ref = & $myArray[$i];
|
H A D | dynamic_call_005.phpt | 7 $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/gd/libgd/ |
H A D | gd_gd.c | 24 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 …]
|
H A D | gd.c | 165 for (i = 0; i < sy; i++) { in gdImageCreate() 218 for (i = 0; i < sy; i++) { in gdImageCreateTrueColor() 251 for (i = 0; i < im->sy; i++) { in gdImageDestroy() 257 for (i = 0; i < im->sy; i++) { in gdImageDestroy() 633 for (i = 0; i < 256; i++) { in gdImagePaletteCopy() 1492 for (i = 0; (i < l); i++) { in gdImageString() 1527 for (i = 0; i < l; i++) { in gdImageStringUp16() 1763 for(i=mx1;i<=mx2;i++){ in gdImageFilledEllipse() 1804 for (i = x; i >= 0; i--) { in gdImageFillToBorder() 2626 for (i = 1; i < n; i++) { in gdImageOpenPolygon() [all …]
|
H A D | wbmp.c | 40 int i, mbi = 0; in getmbi() local 44 i = getin (in); in getmbi() 45 if (i < 0) in getmbi() 49 while (i & 0x80); in getmbi() 71 while (accu != i) in putmbi() 92 int i; in skipheader() local 96 i = getin (in); in skipheader() 97 if (i < 0) in skipheader() 100 while (i & 0x80); in skipheader() 113 int i; in createwbmp() local [all …]
|
/php-src/ext/dom/tests/ |
H A D | DOMElement_append_hierarchy_test.phpt | 9 $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 …]
|
H A D | DOMElement_prepend_hierarchy_test.phpt | 9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>'); 92 string(39) "<p><b><b><i>world</i></b>hello</b></p> 95 string(39) "<p><b><i>world</i>hello</b><b></b></p> 98 string(42) "<p><b><i>world</i>foohello</b><b></b></p> 101 string(39) "<p><b><i><b>hello</b>world</i></b></p> 104 string(42) "<p><b><i><b>hello</b>fooworld</i></b></p> 108 string(39) "<p><b>hello</b><b><i>world</i></b></p> 112 string(27) "<p><b><i>world</i></b></p> 114 -- Prepend world's i tag with the parent -- 116 string(39) "<p><b>hello</b><b><i>world</i></b></p> [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_insert_id_variation.phpt | 20 $i = $link->insert_id; 22 if (!$i) { 23 printf("[001] Got no valid insert id: %s", var_export($i, true)); 29 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 36 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 43 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 49 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 55 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 72 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) { 83 if ($i != $link->insert_id || $i != mysqli_insert_id($link)) {
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | serialize.phpt | 28 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/standard/tests/serialize/ |
H A D | bug73341.phpt | 6 $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 D | bug69425.phpt | 17 $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 D | bug74103.phpt | 5 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/sapi/phpdbg/tests/ |
H A D | breakpoints_003.phpt | 19 >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 D | array_chunk_variation22.phpt | 7 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/date/lib/ |
H A D | parse_tz.c | 210 for (i = 0; i < tz->bit64.timecnt; i++) { in read_64bit_transitions() 213 if (i > 0 && !(buffer[i] > buffer[i - 1])) { in read_64bit_transitions() 263 for (i = 0; i < tz->bit64.typecnt; i++) { in read_64bit_types() 294 for (i = 0; i < tz->bit64.leapcnt; i++) { in read_64bit_types() 310 for (i = 0; i < tz->bit64.ttisstdcnt; i++) { in read_64bit_types() 311 tz->type[i].isstdcnt = buffer[i]; in read_64bit_types() 325 for (i = 0; i < tz->bit64.ttisgmtcnt; i++) { in read_64bit_types() 381 for (i = 0; i < tz->bit64.typecnt; i++) { in find_ttinfo_index() 533 for (i = 0; i < tz->bit64.timecnt; i++) { in timelib_dump_tzinfo() 545 for (i = 0; i < tz->bit64.leapcnt; i++) { in timelib_dump_tzinfo() [all …]
|
/php-src/ext/soap/tests/ |
H A D | bug75306.phpt | 9 for ($i = 0; $i < 10; $i++) { 13 for ($i = 0; $i < 10; $i++) {
|