/PHP-7.2/ext/gd/tests/ |
H A D | bug43475.phpt | 17 $i = 0; 18 while ($i < 16 * $thickness) { 19 $style[$i++] = $color; 21 while ($i < 20 * $thickness) { 22 $style[$i++] = IMG_COLOR_TRANSPARENT; 24 while ($i < 28 * $thickness) { 25 $style[$i++] = $color; 27 while ($i < 32 * $thickness) { 28 $style[$i++] = IMG_COLOR_TRANSPARENT;
|
/PHP-7.2/ext/dom/tests/ |
H A D | bug47430.phpt | 8 version="1.0"?><html><p><i>Hello</i></p><p><i>World!</i></p></html>'; 12 $elements = $dom->getElementsByTagName('i'); 13 foreach ($elements as $i) { 14 $i->previousSibling->nodeValue = '';
|
/PHP-7.2/ext/zip/examples/ |
H A D | dir.php | 17 for ($i=0; $i<$za->numFiles;$i++) { variable 18 echo "index: $i\n"; 19 print_r($za->statIndex($i));
|
/PHP-7.2/ext/pcre/ |
H A D | php_pcre.c | 851 for (i=0; i<num_subpats; i++) { in php_pcre_match_impl() 915 for (i = 0; i < count; i++) { in php_pcre_match_impl() 920 for (i = 0; i < count; i++) { in php_pcre_match_impl() 961 for (i = 0; i < count; i++) { in php_pcre_match_impl() 1023 for (i = 0; i < count; i++) { in php_pcre_match_impl() 1029 for (i = 0; i < count; i++) { in php_pcre_match_impl() 1056 for (i = 0; i < count; i++) { in php_pcre_match_impl() 1062 for (i = 0; i < count; i++) { in php_pcre_match_impl() 1218 for (i = 0; i < count; i++) { in preg_do_repl_func() 1225 for (i = 0; i < count; i++) { in preg_do_repl_func() [all …]
|
/PHP-7.2/ext/oci8/ |
H A D | config.w32 | 36 for (i = 0; i < oci8_dirs.length; i++) { 37 oci8_lib_paths += oci8_dirs[i] + "\\lib;"; 38 oci8_lib_paths += oci8_dirs[i] + "\\lib\\msvc;"; 39 oci8_inc_paths += oci8_dirs[i] + "\\include;"; 71 for (i = 0; i < oci8_11g_dirs.length; i++) { 72 oci8_11g_lib_paths += oci8_11g_dirs[i] + "\\lib;"; 73 oci8_11g_lib_paths += oci8_11g_dirs[i] + "\\lib\\msvc;"; 74 oci8_11g_inc_paths += oci8_11g_dirs[i] + "\\include;"; 106 for (i = 0; i < oci8_12c_dirs.length; i++) { 107 oci8_12c_lib_paths += oci8_12c_dirs[i] + "\\lib;"; [all …]
|
/PHP-7.2/tests/func/ |
H A D | 003.phpt | 11 function b($i) 13 echo "$i\n"; 17 function c($i,$j) 19 echo "Counting from $i to $j\n"; 20 for ($k=$i; $k<=$j; $k++) { 57 for ($i=0; $i<=10; $i++) { 58 $n=factorial($i); 69 for ($i=0; $i<=10; $i++) { 70 if ($i == 5) break; 71 $n=factorial($i); [all …]
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | bug54494.phpt | 24 for ($i=0; $i < $length; $i++) { 25 $t = unpack("H*",mb_substr($string, $i, 1, $mode)); 40 for ($i=0; $i < $length; $i++) { 41 $t = unpack("H*",mb_substr($string, $i, 1, $mode));
|
/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug70436.phpt | 29 $exploit = 'a:4:{i:0;i:1;i:1;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:2;s:'.strlen($fakezval).':"… 39 for ($i = 0; $i < 8; $i++) {
|
H A D | bug70219_1.phpt | 25 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;C:3:"obj":'.strlen($inner).':{'.$… 29 for ($i = 0; $i < 5; $i++) { 30 $v[$i] = 'hi'.$i;
|
/PHP-7.2/ext/date/tests/ |
H A D | bug53437_var3.phpt | 7 …i";s:1:"8";s:1:"s";s:1:"0";s:7:"weekday";i:10;s:16:"weekday_behavior";i:10;s:17:"first_last_day_of… 24 ["i"]=>
|
H A D | bug53437_var5.phpt | 7 …i";s:1:"8";s:1:"s";s:1:"0";s:7:"weekday";i:10;s:16:"weekday_behavior";i:10;s:17:"first_last_day_of… 24 ["i"]=>
|
H A D | bug53437_var6.phpt | 7 …i";s:1:"8";s:1:"s";s:1:"0";s:1:"f";d:0.123654;s:7:"weekday";i:10;s:16:"weekday_behavior";i:10;s:17… 24 ["i"]=>
|
H A D | bug50392.phpt | 9 for ($i = 0; $i < 8; $i++) { 10 $string = $base . '.' . str_repeat($i, $i); 12 $result = date_parse_from_format('Y-m-d H:i:s.u', $string);
|
/PHP-7.2/ext/pdo_oci/tests/ |
H A D | bug57702.phpt | 90 $i = 0; 92 $a[$i][0] = $row['d4_1']; 94 $i++; 97 for ($i = 0; $i < count($a); $i++) { 98 var_dump($a[$i][0]); 99 var_dump($a[$i][1]); 113 $i = 0; 117 $i++; 120 for ($i = 0; $i < count($a); $i++) { 132 $i = 0; [all …]
|
/PHP-7.2/ext/standard/ |
H A D | php_crypt_r.c | 130 DWORD i, pwl, sl; in php_md5_crypt_r() local 212 for (i = pwl; i != 0; i >>= 1) { in php_md5_crypt_r() 213 if ((i & 1) != 0) { in php_md5_crypt_r() 233 for (i = 0; i < 1000; i++) { in php_md5_crypt_r() 370 for (i = pwl; i != 0; i >>= 1) in php_md5_crypt_r() 371 if ((i & 1) != 0) in php_md5_crypt_r() 388 for (i = 0; i < 1000; i++) { in php_md5_crypt_r() 391 if ((i & 1) != 0) in php_md5_crypt_r() 396 if ((i % 3) != 0) in php_md5_crypt_r() 399 if ((i % 7) != 0) in php_md5_crypt_r() [all …]
|
/PHP-7.2/ext/calendar/tests/ |
H A D | jdtojewish_overflow.phpt | 11 for ($i=324542840; $i<324542850; $i++) { 12 echo $i, ':', jdtojewish($i), PHP_EOL;
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 27 unsigned int i; in fpm_scoreboard_init_main() local 68 for (i = 0; i < wp->scoreboard->nprocs; i++, shm_mem += sizeof(struct fpm_scoreboard_proc_s)) { in fpm_scoreboard_init_main() 69 wp->scoreboard->procs[i] = shm_mem; in fpm_scoreboard_init_main() 289 int i = -1; in fpm_scoreboard_proc_alloc() local 298 i = scoreboard->free_proc; in fpm_scoreboard_proc_alloc() 304 for (i = 0; i < (int)scoreboard->nprocs; i++) { in fpm_scoreboard_proc_alloc() 305 if (scoreboard->procs[i] && !scoreboard->procs[i]->used) { /* found */ in fpm_scoreboard_proc_alloc() 312 if (i < 0 || i >= (int)scoreboard->nprocs) { in fpm_scoreboard_proc_alloc() 317 scoreboard->procs[i]->used = 1; in fpm_scoreboard_proc_alloc() 318 *child_index = i; in fpm_scoreboard_proc_alloc() [all …]
|
/PHP-7.2/sapi/phpdbg/tests/ |
H A D | info_001.phpt | 6 i classes 7 i funcs 10 i v 11 i g 12 i b 13 i d 14 i F 15 i e 16 i l 18 i v
|
/PHP-7.2/ext/phar/tests/ |
H A D | bug13786.phpt | 12 for ($i = 0; $i < 2; $i++) { 16 $phar->addFromString($i, "file $i in $fname"); 17 var_dump(file_get_contents($phar[$i])); 22 echo("\nWritten files: $i\n");
|
/PHP-7.2/Zend/ |
H A D | zend_strtod.c | 834 (i) int i; in i2b() 1035 for(i = b->maxwds; n1 > i; i <<= 1) 1039 for(i = 0; i < n; i++) 1549 for(i = 0; (j = s[i]) !=0; i++) 1865 for(i = 0; decimalpoint[i]; ++i) { 1888 for(i = 1; decimalpoint[i]; ++i) { 1986 for(i = 0; decimalpoint[i+1]; ++i); 2666 for(i = 1; i < nz; i++) 3025 for(i = 0; i < nd0; ++i) 3064 i = Emin - i; [all …]
|
/PHP-7.2/ext/opcache/tests/ |
H A D | neg_range_inference.phpt | 9 for ($i = 0; $i < 10; $i++) { 10 if ($i != 5) { 11 $t = (int) ($i < 5);
|
/PHP-7.2/ext/snmp/tests/ |
H A D | bigtest.sh | 4 i=0; 5 while [ $i -lt 32 ]; do 7 i=$((i+1));
|
/PHP-7.2/ext/standard/tests/math/ |
H A D | mt_rand_basic.phpt | 7 echo "\nmt_rand() 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) { 40 for ($i = 0; $i < 100; $i++) { 49 if ($i == 100) { 68 for ($i = 0; $i < 100; $i++) { 77 if ($i == 100) { 83 mt_rand() tests with default min and max value (i.e 0 thru 2147483647)
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | bug42369.phpt | 11 for ($i = 0; $i < 100000; $i++) { 16 for ($i = 0; $i < 100000; $i++) {
|
/PHP-7.2/tests/basic/ |
H A D | 011.phpt | 12 for ($i=0; $i<$argc; $i++) { 13 echo "$i: ".$argv[$i]."\n";
|