/PHP-7.2/ext/spl/tests/ |
H A D | iterator_004.phpt | 9 protected $i; 20 $this->i = 0; 25 $ret = $this->i < count($this->a); 33 return $this->i; 39 return $this->a[$this->i]; 45 $this->i++; 54 $this->i = $index; 76 for($i = 1; $i < 4; $i++) 78 $l->seek($i);
|
/PHP-7.2/ext/date/tests/ |
H A D | test-parse-from-format.phpt | 24 string(13) "Y-m-d\TH:i:sP" 35 string(16) "l, d-M-Y H:i:s T" 46 string(13) "Y-m-d\TH:i:sO" 57 string(16) "D, d M y H:i:s O" 68 string(16) "l, d-M-y H:i:s T" 79 string(16) "D, d M y H:i:s O" 90 string(16) "D, d M Y H:i:s O" 101 string(16) "D, d M Y H:i:s O" 112 string(13) "Y-m-d\TH:i:sP" 123 string(16) "D, d M Y H:i:s O" [all …]
|
H A D | bug33414-1.phpt | 10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 26 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 34 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 43 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 51 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 59 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 67 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 75 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 83 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_string.c | 69 int i; in zend_interned_strings_init() local 88 for (i = 0; i < 256; i++) { in zend_interned_strings_init() 89 s[0] = i; in zend_interned_strings_init() 90 zend_one_char_string[i] = zend_new_interned_string_permanent(zend_string_init(s, 1, 1)); in zend_interned_strings_init() 95 for (i = 0; i < (sizeof(known_strings) / sizeof(known_strings[0])) - 1; i++) { in zend_interned_strings_init() 96 str = zend_string_init(known_strings[i], strlen(known_strings[i]), 1); in zend_interned_strings_init() 97 zend_known_strings[i] = zend_new_interned_string_permanent(str); in zend_interned_strings_init()
|
H A D | zend_ast.c | 107 for (i = 0; i < children; ++i) { in zend_ast_create_from_va_list() 161 for (i = 0; i < init_children; ++i) { in zend_ast_create_list() 398 for (i = 0; i < list->children; i++) { in zend_ast_evaluate() 471 for (i = 0; i < list->children; i++) { in zend_ast_copy() 480 for (i = 0; i < children; i++) { in zend_ast_copy() 526 for (i = 0; i < children; i++) { in zend_ast_destroy_ex() 548 for (i = 0; i < list->children; ++i) { in zend_ast_apply() 553 for (i = 0; i < children; ++i) { in zend_ast_apply() 600 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_str() 615 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_qstr() [all …]
|
/PHP-7.2/ext/intl/dateformat/ |
H A D | dateformat_create.cpp | 43 #define INTL_UDATE_FMT_OK(i) \ argument 44 (UDAT_FULL == (i) || UDAT_LONG == (i) || \ 45 UDAT_MEDIUM == (i) || UDAT_SHORT == (i) || \ 46 UDAT_RELATIVE == (i) || UDAT_FULL_RELATIVE == (i) || \ 47 UDAT_LONG_RELATIVE == (i) || UDAT_MEDIUM_RELATIVE == (i) || \ 48 UDAT_SHORT_RELATIVE == (i) || UDAT_NONE == (i) || \ 49 UDAT_PATTERN == (i))
|
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_xbm.c | 45 int bytes = 0, i; in gdImageCreateFromXbm() local 107 for (i = 0; i < bytes; i++) { in gdImageCreateFromXbm() 183 size_t i, l; in gdImageXbmCtx() local 194 for (i=0; i<l; i++) { in gdImageXbmCtx() 196 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx() 197 name[i] = '_'; in gdImageXbmCtx()
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | tempnam_variation1-win32-mb.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 $file_dir = dirname($files[$i]); 53 for($i=1; $i<=10; $i++) { 54 unlink($files[$i]);
|
H A D | tempnam_variation1-win32.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 $file_dir = dirname($files[$i]); 53 for($i=1; $i<=10; $i++) { 54 unlink($files[$i]);
|
H A D | tempnam_variation1.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 print_r( fileinode($files[$i]) ); //checking inodes 40 $file_dir = dirname($files[$i]); 57 for($i=1; $i<=10; $i++) { 58 unlink($files[$i]);
|
/PHP-7.2/ext/gd/tests/ |
H A D | bug53504.phpt | 55 for ($i = 0; $i < 8; $i++) { 56 $exp = $test['exp'][$i]; 57 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) { 60 echo "(expected $exp, got $bbox[$i])"; 69 for ($i = 0; $i < count($bbox); $i += 2) { 70 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n"; 71 …if ($bbox[$i + 1] + $test['y'] !== $bboxDrawn[$i + 1]) echo "imageftbbox and imagefttext differ!\n…
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | zend_call_graph.c | 213 int i; in zend_analyze_recursion() local 219 for (i = 0; i < call_graph->op_arrays_count; i++) { in zend_analyze_recursion() 220 op_array = call_graph->op_arrays[i]; in zend_analyze_recursion() 221 func_info = call_graph->func_infos + i; in zend_analyze_recursion() 250 int i; in zend_build_call_graph() local 262 for (i = 0; i < call_graph->op_arrays_count; i++) { in zend_build_call_graph() 263 …nd_analyze_calls(arena, script, build_flags, call_graph->op_arrays[i], call_graph->func_infos + i); in zend_build_call_graph() 282 int i; in zend_build_call_map() local 285 for (i = 0; i < call->num_args; i++) { in zend_build_call_map() 286 if (call->arg_info[i].opline) { in zend_build_call_map() [all …]
|
H A D | zend_inference.c | 273 for (i = 0; i < ssa_vars_count; i++) { in zend_ssa_find_false_dependencies() 857 int i; in zend_inference_calc_range() local 961 for (i = 0; i < ssa->cfg.blocks[p->block].predecessors_count; i++) { in zend_inference_calc_range() 2288 i--; in zend_update_type_info() 2687 i++; in zend_update_type_info() 3520 for (i = 0; i < blocks[p->block].predecessors_count; i++) { in zend_infer_types_ex() 3524 for (i = 0; i < blocks[p->block].predecessors_count; i++) { in zend_infer_types_ex() 4046 int i; in zend_ssa_inference() local 4054 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference() 4059 for (i = 0; i < op_array->last_var; i++) { in zend_ssa_inference() [all …]
|
/PHP-7.2/ext/hash/ |
H A D | hash_tiger.c | 107 int i; \ 110 for (i = 0; i < 64; ++i) { \ 111 ((unsigned char *) tmp)[i^7] = ((unsigned char *) str)[i]; \ 174 unsigned int i; in TigerDigest() local 176 for (i = 0; i < digest_len; ++i) { in TigerDigest() 177 digest_str[i] = (unsigned char) ((context->state[i/8] >> (8 * (i%8))) & 0xff); in TigerDigest() 204 size_t i = 0, r = (context->length + len) % 64; in PHP_TIGERUpdate() local 207 i = 64 - context->length; in PHP_TIGERUpdate() 214 for (; i + 64 <= len; i += 64) { in PHP_TIGERUpdate() 215 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate() [all …]
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 34 if (i) { in ZEND_EXTERN_MODULE_GLOBALS() 37 if (i < func->common.num_args) { in ZEND_EXTERN_MODULE_GLOBALS() 68 while (i < first_extra_arg) { in phpdbg_compile_stackframe() 71 i++; in phpdbg_compile_stackframe() 75 while (i < num_args) { in phpdbg_compile_stackframe() 78 i++; in phpdbg_compile_stackframe() 124 int i = 0; in phpdbg_switch_frame() local 133 if (i++ == frame) { in phpdbg_switch_frame() 269 int i = 0, limit = num; in phpdbg_dump_backtrace() local 297 phpdbg_out("frame #%d: ", i); in phpdbg_dump_backtrace() [all …]
|
/PHP-7.2/ext/standard/tests/filters/ |
H A D | filter_errors_user.phpt | 45 for($i = 0; $i < 5; ++$i) { 46 echo "test_filter$i\n"; 47 var_dump(stream_filter_register("test_filter$i", "test_filter$i")); 48 filter_errors_test("test_filter$i", "42"); 52 for($i = 0; $i < 5; ++$i) { 53 echo "test_filter$i\n"; 57 $f = stream_filter_append($stream, "test_filter$i"); 67 for($i = 0; $i < 5; ++$i) { 68 echo "test_filter$i\n"; 81 for($i = 0; $i < 5; ++$i) { [all …]
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | bug54459.phpt | 7 foreach (range(90, 100, .1) as $i => $v){ 8 echo $i, ' = ', $v, PHP_EOL; 10 foreach (range("90", "100", .1) as $i => $v){ 11 echo $i, ' = ', $v, PHP_EOL;
|
H A D | array_chunk_variation16.phpt | 7 for ($i = 0; $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-7.2/Zend/tests/assert/ |
H A D | expect_006.phpt | 8 for($i=0; $i<100000; $i++) { 9 assert ($i < 100000, "The universe should make sense");
|
/PHP-7.2/ext/pcre/pcrelib/testdata/ |
H A D | testoutput20 | 4 /^\x{ffff}+/i 8 /^\x{ffff}?/i 12 /^\x{ffff}*/i 16 /^\x{ffff}{3}/i 20 /^\x{ffff}{0,3}/i
|
/PHP-7.2/Zend/tests/ |
H A D | bug71539_6.phpt | 6 for ($i = 0; $i < 100000; $i++) { 7 if ($name != 'i') {
|
/PHP-7.2/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-7.2/Zend/tests/generators/finally/ |
H A D | return_yield.phpt | 6 for ($i = $f; $i <= $t; $i++) { 10 yield $i;
|
H A D | yield_return.phpt | 6 for ($i = $f; $i <= $t; $i++) { 8 yield $i;
|
/PHP-7.2/tests/lang/ |
H A D | 018.phpt | 10 for ($i=0; $i<10; $i++) { 12 echo $i."\n";
|