Home
last modified time | relevance | path

Searched refs:i (Results 351 – 375 of 2041) sorted by relevance

1...<<11121314151617181920>>...82

/PHP-7.2/ext/spl/tests/
H A Diterator_004.phpt9 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 Dtest-parse-from-format.phpt24 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 Dbug33414-1.phpt10 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 Dzend_string.c69 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 Dzend_ast.c107 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 Ddateformat_create.cpp43 #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 Dgd_xbm.c45 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 Dtempnam_variation1-win32-mb.phpt20 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 Dtempnam_variation1-win32.phpt20 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 Dtempnam_variation1.phpt20 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 Dbug53504.phpt55 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 Dzend_call_graph.c213 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 Dzend_inference.c273 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 Dhash_tiger.c107 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 Dphpdbg_frame.c34 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 Dfilter_errors_user.phpt45 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 Dbug54459.phpt7 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 Darray_chunk_variation16.phpt7 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 Dexpect_006.phpt8 for($i=0; $i<100000; $i++) {
9 assert ($i < 100000, "The universe should make sense");
/PHP-7.2/ext/pcre/pcrelib/testdata/
H A Dtestoutput204 /^\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 Dbug71539_6.phpt6 for ($i = 0; $i < 100000; $i++) {
7 if ($name != 'i') {
/PHP-7.2/ext/opcache/tests/
H A Dssa_bug_002.phpt8 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 Dreturn_yield.phpt6 for ($i = $f; $i <= $t; $i++) {
10 yield $i;
H A Dyield_return.phpt6 for ($i = $f; $i <= $t; $i++) {
8 yield $i;
/PHP-7.2/tests/lang/
H A D018.phpt10 for ($i=0; $i<10; $i++) {
12 echo $i."\n";

Completed in 77 milliseconds

1...<<11121314151617181920>>...82