/php-src/ext/standard/ |
H A D | scanf.c | 243 for (i = 0; i < cset->nchars; i++) { in CharInSet() 250 for (i = 0; i < cset->nranges; i++) { in CharInSet() 325 for (i = 0; i < nspace; i++) { in ValidateFormat() 326 nassign[i] = 0; in ValidateFormat() 498 for (i = 0; i < STATIC_LIST_SIZE; ++i) { in ValidateFormat() 499 nassign[i] = staticAssign[i]; in ValidateFormat() 504 for (i = value; i < nspace; i++) { in ValidateFormat() 526 for (i = 0; i < numVars; i++) { in ValidateFormat() 579 int i, result; in php_sscanf_internal() local 617 for (i = varStart;i < argCount;i++){ in php_sscanf_internal() [all …]
|
H A D | array.c | 1238 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1257 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1275 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1366 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1385 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1403 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 4211 for (i = 0; i < argc; i++) { 4266 for (i = 0; i < argc; i++) { 4991 arTmp[i].i = i; 4999 arTmp[i].i = i; [all …]
|
/php-src/ext/dba/tests/ |
H A D | dba_optimize.phpt | 20 $i=0; 23 $i++; 25 echo $i; 26 for ($i=1; $i<3; $i++) { 27 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
H A D | dba_sync.phpt | 20 $i=0; 23 $i++; 25 echo $i; 26 for ($i=1; $i<3; $i++) { 27 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
/php-src/ext/curl/tests/ |
H A D | bug45161.phpt | 19 $i = $start = $end = 100000.00; 20 for ($i = 0; $i < 100; $i++) { 29 for($i = 0; $i < 1024; $i++) {
|
/php-src/Zend/tests/match/ |
H A D | 028.phpt | 18 function main(int $i): int { 19 Test::usesValue(match(true) { true => $i }); 20 Test::usesValue(match($i) { 42 => $i }); 21 var_dump($i); 22 Test::usesRef(match(true) { true => $i }); 23 var_dump($i);
|
/php-src/sapi/phpdbg/ |
H A D | create-test.php | 34 for ($i = 1; $i < $argc; $i++) { variable 35 if ($argv[$i][0] == "-" && !$post_ddash) { 36 switch (substr($argv[$i], 1)) { 38 $phpdbg = $argv[++$i]; 44 $pass_options .= " -d ".escapeshellarg($argv[++$i]); 45 $ini[] = $argv[$i]; 52 $real_argv[] = $argv[$i];
|
/php-src/Zend/ |
H A D | zend_strtod.c | 821 (i) int i; in i2b() 1024 for(i = b->maxwds; n1 > i; i <<= 1) 1028 for(i = 0; i < n; i++) 1538 for(i = 0; (j = s[i]) !=0; i++) 1854 for(i = 0; decimalpoint[i]; ++i) { 1877 for(i = 1; decimalpoint[i]; ++i) { 1975 for(i = 0; decimalpoint[i+1]; ++i); 2655 for(i = 1; i < nz; i++) 3015 for(i = 0; i < nd0; ++i) 3054 i = Emin - i; [all …]
|
/php-src/tests/lang/ |
H A D | 027.phpt | 5 $i=3; 7 echo $i; 8 $i--; 9 } while($i>0);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_limits.phpt | 25 for ($i = 0; $i < $num_params; $i++) { 26 $create .= "col" . $i . " INT, "; 27 $columns .= "col" . $i . ", "; 29 $stmt_params .= '$params[' . $i . '], '; 31 $params[($j * $rows) + $i] = $i; 35 $stmt_types = str_repeat("i", $num_params * $rows); 68 for ($i = 0; $i < $rows; $i++) 70 $param_ref[] = &$params[($i * $rows) + $j]; 98 for ($i = 0; $i < $num_params; $i++) { 99 if ($row[$i + 1] != $i) {
|
/php-src/ext/random/tests/01_functions/ |
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) { 38 for ($i = 0; $i < 100; $i++) { 47 if ($i == 100) { 54 mt_rand() tests with default min and max value (i.e 0 thru 2147483647)
|
/php-src/Zend/tests/ |
H A D | call_user_func_008.phpt | 12 $i = $j = 0; 13 var_dump(call_user_func('test', $i, $j)); 14 var_dump($i, $j); 16 var_dump(call_user_func_array('test', [$i, $j])); 17 var_dump($i, $j); 19 $x =& $i; $y =& $j; 20 var_dump(call_user_func('test', $i, $j)); 21 var_dump($i, $j); 23 var_dump(call_user_func_array('test', [$i, $j])); 24 var_dump($i, $j);
|
H A D | gh13670_001.phpt | 30 for ($i = 0; $i < $defaultThreshold+1; $i++) { 35 for ($i = 0; $i < 100; $i++) {
|
/php-src/ext/date/tests/ |
H A D | gh10747-1.phpt | 22 $i = new I; 23 $s = serialize($i); 26 var_dump($i, str_replace(chr(0), '!', $s), $u); 45 …:"%s";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";s:7:"!I!var1";i:1;s:7:"!I!var2";i:2;s:7:"!…
|
H A D | date_interval_prop_dim.phpt | 7 $i = 0; 9 while ($i < 1026) { 10 $z->prop[$i] = $i; 11 $i++;
|
H A D | date_time_fractions.phpt | 16 echo $dt->modify( "+1 day" )->format( "Y-m-d H:i:s.u" ), "\n"; 19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n"; 25 echo $dt->modify( "yesterday" )->format( "Y-m-d H:i:s.u" ), "\n"; 28 echo $dt->modify( "noon" )->format( "Y-m-d H:i:s.u" ), "\n"; 31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n"; 45 echo $dt0->format( "Y-m-d H:i:s.u" ), "\n"; 46 echo $dt1->format( "Y-m-d H:i:s.u" ), "\n"; 47 echo $dt2->format( "Y-m-d H:i:s.u" ), "\n"; 48 echo $dt3->format( "Y-m-d H:i:s.u" ), "\n"; 49 echo $dt4->format( "Y-m-d H:i:s.u" ), "\n"; [all …]
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | readonly.phpt | 19 for ($i = 0; $i < 10_000; $i++) { 20 if ($randomizer->getInt(0, $i) !== $referenceRandomizer->getInt(0, $i)) { 21 die("failure: state differs at {$i}");
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_009.phpt | 10 for ($i = 2; $i < 5; $i++) { 11 var_dump($ary[0][$i>>1]); 12 $ary[0][$i] = 1;
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | utils.c | 30 size_t hash, i; in lexbor_utils_hash_hash() local 32 for (hash = i = 0; i < key_size; i++) { in lexbor_utils_hash_hash() 33 hash += key[i]; in lexbor_utils_hash_hash()
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_private.h | 354 for (i = 0; i < len; i++) { in ir_bitset_empty() 376 for (i = 0; i < len; i++) { in ir_bitset_intersection() 377 set1[i] &= set2[i]; in ir_bitset_intersection() 385 for (i = 0; i < len; i++) { in ir_bitset_union() 386 set1[i] |= set2[i]; in ir_bitset_union() 394 for (i = 0; i < len; i++) { in ir_bitset_difference() 395 set1[i] = set1[i] & ~set2[i]; in ir_bitset_difference() 403 for (i = 0; i < len; i++) { in ir_bitset_is_subset() 404 if (set1[i] & ~set2[i]) { in ir_bitset_is_subset() 415 for (i = 0; i < len; i++) { in ir_bitset_first() [all …]
|
/php-src/ext/spl/tests/ |
H A D | bug78456.phpt | 13 string(82) "O:19:"SplDoublyLinkedList":3:{i:0;i:0;i:1;a:1:{i:0;O:8:"stdClass":0:{}}i:2;a:0:{}}"
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionProperty_getModifiers_basic.phpt | 24 for ($i = 1;$i <= 6;$i++) { 25 $rp = new ReflectionProperty("C", "a$i"); 26 echo "C::a$i: "; 28 $rp = new ReflectionProperty("D", "a$i"); 29 echo "D::a$i: ";
|
/php-src/ext/standard/tests/serialize/ |
H A D | 001.phpt | 84 i:1; 85 i:0; 86 i:-1; 87 i:2147483647; 88 i:-2147483647; 95 a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;…
|
/php-src/ext/ffi/tests/ |
H A D | 038.phpt | 12 for ($i = 0; $i < 10; $i++) { 13 $a[$i] = $i;
|
/php-src/ext/standard/tests/file/ |
H A D | tempnam_variation1-win32-mb.phpt | 16 for($i=1; $i<=10; $i++) { 17 echo "-- Iteration $i --\n"; 18 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 20 if( file_exists($files[$i]) ) { 23 print($files[$i]); 27 printf("%o", fileperms($files[$i]) ); 32 $file_dir = dirname($files[$i]); 49 for($i=1; $i<=10; $i++) { 50 unlink($files[$i]);
|