/php-src/ext/tokenizer/tests/ |
H A D | token_get_all_variation19.phpt | 27 for ($i = 0; $i < 10; $i++) { 28 echo "Loop iteration $i\n"; 75 for ($i = 0; $i < 10; $i++) { 76 echo "Loop iteration $i\n";
|
/php-src/ext/standard/tests/file/ |
H A D | 004.phpt | 6 for ($i = 1; $i < 6; $i++) { 7 @unlink("./TEST{$i}"); 52 for ($i = 1; $i < 6; $i++) { 53 @unlink("./TEST{$i}");
|
/php-src/ext/standard/tests/streams/ |
H A D | gh9590-001.phpt | 17 for ($i = 0; $i < 1023; $i++) { 18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w'); 37 for ($i = 0; $i < 1023; $i++) { 38 @unlink(__DIR__ . "/GH-9590-001-tmpfile.$i");
|
/php-src/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++) {
|
/php-src/TSRM/ |
H A D | TSRM.c | 167 for (int i = thread_resources->count - 1; i >= 0; i--) { in ts_free_resources() local 168 if (!resource_types_table[i].done) { in ts_free_resources() 169 if (resource_types_table[i].dtor) { in ts_free_resources() 170 resource_types_table[i].dtor(thread_resources->storage[i]); in ts_free_resources() 197 for (int i=0; i<tsrm_tls_table_size; i++) { in tsrm_shutdown() local 250 for (int i=0; i<tsrm_tls_table_size; i++) { in tsrm_update_active_threads() local 396 for (int i=0; i<id_count; i++) { in allocate_new_resource() local 403 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource() 406 resource_types_table[i].ctor((*thread_resources_ptr)->storage[i]); in allocate_new_resource() 553 for (int i=0; i<tsrm_tls_table_size; i++) { in ts_free_id() local [all …]
|
/php-src/ext/random/tests/01_functions/ |
H A D | bug75170.phpt | 13 for ($i = 0; $i < $total; $i++) { 24 for ($i = 0; $i < $total; $i++) {
|
/php-src/ext/standard/tests/strings/ |
H A D | 004.phpt | 14 for ($i = 0; $i < $times; $i++) { 25 for ($i = 0; $i < $times; $i++) {
|
H A D | ord_basic.phpt | 21 for ($i = 0; $i < 255; $i++) { 22 if (ord(chr($i)) != $i) { 23 exit("TEST FAILED: $i does not round trip\n");
|
/php-src/ext/standard/tests/array/ |
H A D | bug70713.phpt | 13 for ($i = 0; $i < 5; $i++) { 14 $v[$i] = 'hi'.$i;
|
H A D | array_chunk_variation16.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_variation17.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/posix/tests/ |
H A D | posix_times_basic.phpt | 25 int(%i) 27 int(%i) 29 int(%i) 31 int(%i) 33 int(%i)
|
/php-src/ext/standard/ |
H A D | soundex.c | 26 size_t i, _small, str_len, code, last; in PHP_FUNCTION() local 63 for (i = 0, _small = 0; i < str_len && _small < 4; i++) { in PHP_FUNCTION() 68 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION()
|
/php-src/Zend/tests/ |
H A D | globals_005.phpt | 6 for ($i = 0; $i < 100; $i++) { 7 $GLOBALS["A". $i] = 1; //trigger resize
|
H A D | bug78010.phpt | 19 for ($i = 0; $i < 898; $i++) { //Will not trigger with <898 26 for ($i = 0; $i < 2; ++$i) { //This must run >=2 (increasing the number of elements in the array *2…
|
/php-src/ext/spl/tests/ |
H A D | bug54304.phpt | 13 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE); 14 $i->replacement = "42"; 15 var_dump($i->replacement); 16 foreach ($i as $name=>$value) { 19 var_dump($i->replacement);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 497 unsigned int i; in mysqlnd_stmt_free_copies() local 498 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_free_copies() 539 unsigned int i; in mysqlnd_stmt_execute_prepare_param_types() local 541 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_prepare_param_types() 592 unsigned int i; in mysqlnd_stmt_execute_store_types() local 593 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_types() 636 unsigned int i; in mysqlnd_stmt_execute_calculate_param_values_size() local 638 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_calculate_param_values_size() 730 unsigned int i; in mysqlnd_stmt_execute_store_param_values() local 731 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_param_values() [all …]
|
/php-src/sapi/apache2handler/ |
H A D | php_apache.h | 62 int i; \ 64 for (i = 0; i < arr->nelts; i++) { \ 65 key = elts[i].key; \ 66 val = elts[i].val;
|
/php-src/Zend/tests/enum/ |
H A D | spl-object-storage.phpt | 35 …tring(112) "O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;E:7:"Foo:Bar";i:1;s:3:"Bar";i:2;E:7:"Foo:Baz";…
|
/php-src/ext/mysqli/tests/ |
H A D | deprecated_constants.phpt | 20 %i 23 %i 26 %i 29 %i 32 %i 35 %i
|
H A D | mysqli_stmt_get_result_types.phpt | 110 for ($i = 0; $i < $len; $i++) 116 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", -11, 20); 117 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", NULL, 40); 121 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", 1, 100); 122 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", NULL, 120); 123 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", 0, 140); 124 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", NULL, 160); 128 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT", NULL, 220); 141 func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", NULL, 440); 150 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", NULL, 540); [all …]
|
/php-src/ext/intl/tests/ |
H A D | locale_get_display_language3.phpt | 20 'i-ami', 21 'i-bnn', 24 'i-hak', 26 'i-lux', 29 'i-pwn', 30 'i-tao', 31 'i-tay', 32 'i-tsu', 104 locale='i-ami' 109 locale='i-bnn' [all …]
|
/php-src/ext/opcache/tests/ |
H A D | ssa_bug_002.phpt | 8 function test(int $i) : int { 9 if ($i == 1) { 10 $x = $i + 1; 12 return $i;
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_0.phpt | 21 for ($i = 0; $i < $how_many; $i++) { 34 for ($i = 0; $i < $how_many; $i++) { 35 $p0 = substr($p, 0, strlen($p) - $i*51);
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug38334.phpt | 9 $db->exec('CREATE TABLE test_38334 (i INTEGER , f DOUBLE, s VARCHAR(255))'); 15 $i = $db->query('SELECT i FROM test_38334 WHERE f = 0.0')->fetchColumn(0); 17 var_dump($i === 10000000000); 19 var_dump($i === '10000000000'); 29 ["i"]=> 38 ["i"]=>
|