/php-src/ext/date/tests/ |
H A D | bug63435.phpt | 7 for ($i=1 ; $i<999 ; $i++) { 8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i)); 10 if ($res != $i) { 11 echo "$i != $res\n";
|
H A D | bug68942.phpt | 5 $data = unserialize('a:2:{i:0;O:12:"DateTimeZone":2:{s:13:"timezone_type";a:2:{i:0;i:1;i:1;i:2;}s:8… 12 #1 %s(%d): unserialize('a:2:{i:0;O:12:"...')
|
/php-src/Zend/tests/match/ |
H A D | 004.phpt | 6 function get_range($i) { 8 $i >= 50 => '50+', 9 $i >= 40 => '40-50', 10 $i >= 30 => '30-40', 11 $i >= 20 => '20-30', 12 $i >= 10 => '10-20',
|
/php-src/ext/opcache/tests/jit/ |
H A D | qm_assign_003.phpt | 14 for ($i = 0; $i <= .1; $i++) { 15 for ($i = 0; $i << .1; $i++) {
|
/php-src/Zend/tests/gc/ |
H A D | gc_012.phpt | 8 for ($i=0; $i < 1000; $i++) { 9 $a[$i] = array(array()); 10 $a[$i][0] = & $a[$i];
|
/php-src/ext/mbstring/tests/ |
H A D | iso2022jp_2004_encoding.phpt | 37 for ($i = 0; $i <= 0x20; $i++) { 76 for ($i = 0; $i <= 0x20; $i++) { 82 for ($i = 0; $i <= 0x20; $i++) { 112 for ($i = 0; $i <= 0x7F; $i++) { 119 for ($i = 0; $i <= 0x7F; $i++) { 127 for ($i = 0x80; $i <= 0x9F; $i++) { 137 for ($i = 0x80; $i <= 0xFF; $i++) { 152 for ($i = 0; $i < 256; $i++) { 164 for ($i = 0x21; $i <= 0x7E; $i++) { 213 for ($i = 0; $i <= 0xFF; $i++) { [all …]
|
H A D | iso2022jp_ms_encoding.phpt | 94 for ($i = 0; $i < 0x80; $i++) { 102 for ($i = 0x80; $i < 256; $i++) { 122 for ($i = 0x80; $i < 256; $i++) { 123 if ($i >= 0xA1 && $i <= 0xDF) 148 for ($i = 0; $i <= 0x7F; $i++) 149 $validChars[chr($i)] = chr($i); 150 for ($i = 0xA1; $i <= 0xDF; $i++) 151 $validChars[chr($i)] = $jisx0201Chars[chr($i)]; 178 for ($i = 0; $i <= 0x7F; $i++) 179 $validChars[chr($i)] = chr($i); [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_chunk_variation11.phpt | 8 for ($i = 1; $i < (sizeof($array) + 1); $i++) { 9 echo "[$i]\n"; 10 var_dump (array_chunk ($array, $i)); 11 var_dump (array_chunk ($array, $i, TRUE)); 12 var_dump (array_chunk ($array, $i, FALSE));
|
H A D | array_chunk_variation13.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));
|
H A D | array_chunk_variation29.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));
|
H A D | array_chunk_variation9.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/ctype/tests/ |
H A D | bug25745.phpt | 16 for ($i = 0; $i < 256; $i++) { 17 $a = $ctype_func($i); 18 $b = $ctype_func(chr($i)); 20 echo "broken... $ctype_func($i) = $a, $ctype_func(chr($i)) = $b\n";
|
/php-src/Zend/tests/ |
H A D | bug69758.phpt | 7 for ($i = 0; $i <= 10; $i++) { 8 $tokens[$i] = $conditions; 12 if ($i !== 0 && $i !== 8) { 18 $conditions[$i] = true;
|
H A D | add_006.phpt | 8 $i = 75636; 15 $c = $i + $s1; 20 $c = $i + $s2; 23 $c = $i + $s3; 26 $c = $i + $s4; 30 $c = $s1 + $i; 36 $c = $s2 + $i; 39 $c = $s3 + $i; 42 $c = $s4 + $i;
|
/php-src/ext/gd/libgd/ |
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() 1576 for (i = 0; (i < l); i++) { in gdImageString() 1611 for (i = 0; i < l; i++) { in gdImageStringUp16() 1847 for(i=mx1;i<=mx2;i++){ in gdImageFilledEllipse() 1888 for (i = x; i >= 0; i--) { in gdImageFillToBorder() 2710 for (i = 1; i < n; i++) { in gdImageOpenPolygon() [all …]
|
H A D | gd_rotate.c | 38 for (i = 0; i < iOffset; i++) { in gdImageSkewX() 42 if (i < dst->sx) { in gdImageSkewX() 46 for (i = 0; i < src->sx; i++) { in gdImageSkewX() 91 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { in gdImageSkewX() 98 i += iOffset; in gdImageSkewX() 100 if (i < dst->sx) { in gdImageSkewX() 106 i--; in gdImageSkewX() 126 for (i = 0; i<=iOffset; i++) { in gdImageSkewY() 136 for (i = 0; i < src->sy; i++) { in gdImageSkewY() 189 i = iYPos; in gdImageSkewY() [all …]
|
/php-src/ext/standard/tests/math/ |
H A D | log_basic.phpt | 20 for ($i = 0; $i < count($values); $i++) { 21 $res = log($values[$i]); 26 for ($i = 0; $i < count($values); $i++) { 27 $res = log($values[$i], 4);
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | attribute_order_same_element.phpt | 15 for ($i = 0; $i <= 2; $i++) { 16 for ($j = $i + 1; $j <= $i + 2; $j++) { 17 echo "--- Compare $i and ", ($j % 3), " ---\n"; 18 if ($i < ($j % 3)) { 23 var_dump($attrs[$i]->compareDocumentPosition($attrs[$j % 3]) === $expected);
|
/php-src/ext/zlib/tests/ |
H A D | bug75273.phpt | 11 for ($i = 0; $i < $iterations; $i++) { 30 for ($i = 1; $i <= 8; $i++) { 31 $in_data = non_repeating_str($base_len + $i); 48 echo "bug i=$i out_data_len=$out_data_len fwrite_len=$fwrite_len\n";
|
/php-src/build/ |
H A D | order_by_dep.awk | 29 for (i in mods) { 30 if (mods[i] == name) { 31 return i; 61 for (i in arr) 82 for (i = 0; i <= mod_count - 1; i++) { 83 if (i in mods) { 84 do_deps(i);
|
/php-src/tests/lang/operators/ |
H A D | operator_equals_variation_64bit.phpt | 32 for ($i = 0; $i < count($validEqual); $i +=2) { 33 $typeToTestVal = $validEqual[$i]; 34 $compares = $validEqual[$i + 1]; 46 for ($i = 0; $i < count($invalidEqual); $i +=2) { 47 $typeToTestVal = $invalidEqual[$i]; 48 $compares = $invalidEqual[$i + 1];
|
H A D | operator_gt_or_equal_variation.phpt | 30 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 D | operator_identical_variation.phpt | 30 for ($i = 0; $i < count($validIdentical); $i +=2) { 31 $typeToTestVal = $validIdentical[$i]; 32 $compares = $validIdentical[$i + 1]; 44 for ($i = 0; $i < count($invalidIdentical); $i +=2) { 45 $typeToTestVal = $invalidIdentical[$i]; 46 $compares = $invalidIdentical[$i + 1];
|
H A D | operator_identical_variation_64bit.phpt | 32 for ($i = 0; $i < count($validIdentical); $i +=2) { 33 $typeToTestVal = $validIdentical[$i]; 34 $compares = $validIdentical[$i + 1]; 46 for ($i = 0; $i < count($invalidIdentical); $i +=2) { 47 $typeToTestVal = $invalidIdentical[$i]; 48 $compares = $invalidIdentical[$i + 1];
|
H A D | operator_notequals_variation.phpt | 30 for ($i = 0; $i < count($validNotEquals); $i +=2) { 31 $typeToTestVal = $validNotEquals[$i]; 32 $compares = $validNotEquals[$i + 1]; 44 for ($i = 0; $i < count($invalidNotEquals); $i +=2) { 45 $typeToTestVal = $invalidNotEquals[$i]; 46 $compares = $invalidNotEquals[$i + 1];
|