/php-src/ext/standard/tests/file/ |
H A D | tempnam_variation1-win32.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]);
|
H A D | lstat_stat_variation18.phpt | 53 int(%i) 75 int(%i) 77 int(%i) 79 int(%i) 91 int(%i) 101 int(%i) 103 int(%i) 109 int(%i) 131 int(%i) 133 int(%i) [all …]
|
/php-src/Zend/Optimizer/ |
H A D | optimize_temp_vars_5.c | 32 for (i = 0; i < T; i++) { \ 33 if (!zend_bitset_in(taken_T, i)) { \ 37 zend_bitset_incl(taken_T, i); \ 38 if (i > max) { \ 39 max = i; \ 52 int i; in zend_optimize_temporary_variables() local 127 i = ++max; in zend_optimize_temporary_variables() 128 zend_bitset_incl(taken_T, i); in zend_optimize_temporary_variables() 132 map_T[currT] = i; in zend_optimize_temporary_variables() 142 map_T[currT] = i; in zend_optimize_temporary_variables() [all …]
|
/php-src/ext/date/tests/ |
H A D | DatePeriod_serialize-001.phpt | 49 ["i"]=> 72 …i:1;s:8:"timezone";s:6:"+00:00";}s:7:"current";N;s:3:"end";N;s:8:"interval";O:12:"DateInterval":10… 100 ["i"]=> 147 ["i"]=>
|
H A D | test-parse-from-format.phpt | 26 string(13) "Y-m-d\TH:i:sP" 37 string(16) "l, d-M-Y H:i:s T" 48 string(13) "Y-m-d\TH:i:sO" 59 string(13) "X-m-d\TH:i:sP" 70 string(16) "D, d M y H:i:s O" 81 string(16) "l, d-M-y H:i:s T" 92 string(16) "D, d M y H:i:s O" 103 string(16) "D, d M Y H:i:s O" 125 string(13) "Y-m-d\TH:i:sP" 136 string(15) "Y-m-d\TH:i:s.vP" [all …]
|
H A D | bug75035.phpt | 10 $i = 64; 11 while ($i-- > 1) { 12 $d = new DateTime('@' . ($extreme >> $i)); 19 $original = $d->format('Y-m-d H:i:s'); 20 $serializedUnserialized = is_string($u) ? $u : $u->format('Y-m-d H:i:s'); 22 var_dump('[' . ($extreme >> $i) . '] ' . $original . ' => ' . $serializedUnserialized);
|
H A D | mktime_basic1.phpt | 27 int(%i) 28 int(%i) 29 int(%i) 30 int(%i) 31 int(%i) 32 int(%i)
|
H A D | DatePeriod_serialize-002.phpt | 9 $i = new DateInterval('P2Y6M'); 10 $d = new DatePeriod($s, $i, $e); 64 ["i"]=> 87 …i:3;s:8:"timezone";s:16:"Europe/Amsterdam";}s:7:"current";N;s:3:"end";O:17:"DateTimeImmutable":3:{… 122 ["i"]=> 176 ["i"]=>
|
H A D | DatePeriod_serialize-003.phpt | 9 $i = new DateInterval('P2Y6M'); 10 $d = new DatePeriod($s, $i, $e, DatePeriod::EXCLUDE_START_DATE); 64 ["i"]=> 87 …i:3;s:8:"timezone";s:16:"Europe/Amsterdam";}s:7:"current";N;s:3:"end";O:17:"DateTimeImmutable":3:{… 122 ["i"]=> 176 ["i"]=>
|
H A D | DatePeriod_serialize-004.phpt | 8 $i = DateInterval::createFromDateString('first monday of next month'); 9 $p = new DatePeriod($s, $i, 7, DatePeriod::EXCLUDE_START_DATE); 62 ["i"]=> 95 …i:3;s:8:"timezone";s:16:"Europe/Amsterdam";}s:7:"current";O:17:"DateTimeImmutable":3:{s:4:"date";s… 130 ["i"]=> 184 ["i"]=>
|
H A D | createFromTimestamp.phpt | 204 …romTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, %f given 205 …romTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, %f given 206 …romTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, %f given 207 …romTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, %f given 208 …omTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, NAN given 209 …omTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, NAN given 210 …omTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, INF given 211 …omTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, INF given 212 …mTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, -INF given 213 …mTimestamp(): Argument #1 ($timestamp) must be a finite number between %i and %i.999999, -INF given
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_match.c | 1296 for (i = 1; i <= Lmin; i++) in match() 1402 for (i = 1; i <= Lmin; i++) in match() 1465 for (i = 1; i <= Lmin; i++) in match() 1640 for (i = 1; i <= Lmin; i++) in match() 1656 for (i = 1; i <= Lmin; i++) in match() 1782 for (i = 1; i <= Lmin; i++) in match() 1797 for (i = 1; i <= Lmin; i++) in match() 1979 for (i = 1; i <= Lmin; i++) in match() 2214 for (i = 1; i <= Lmin; i++) in match() 5078 for (i = 1; i <= Lmin; i++) in match() [all …]
|
H A D | pcre2_serialize.c | 78 int32_t i; in pcre2_serialize_encode() local 96 for (i = 0; i < number_of_codes; i++) in pcre2_serialize_encode() 98 if (codes[i] == NULL) return PCRE2_ERROR_NULL; in pcre2_serialize_encode() 99 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 127 for (i = 0; i < number_of_codes; i++) in pcre2_serialize_encode() 129 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 173 int32_t i, j; in pcre2_serialize_decode() local 205 for (i = 0; i < number_of_codes; i++) in pcre2_serialize_decode() 220 for (j = 0; j < i; j++) in pcre2_serialize_decode() 246 codes[i] = dst_re; in pcre2_serialize_decode()
|
/php-src/ext/pdo/ |
H A D | pdo_sqlstate.c | 310 size_t i; in pdo_sqlstate_init_error_table() local 315 for (i = 0; i < sizeof(err_initializer)/sizeof(err_initializer[0]); i++) { in pdo_sqlstate_init_error_table() 316 info = &err_initializer[i]; in pdo_sqlstate_init_error_table()
|
/php-src/tests/lang/ |
H A D | 022.phpt | 6 function switchtest ($i, $j) 8 switch ($i) { 27 for ($i=0; $i<3; $i++) {
|
/php-src/Zend/tests/ |
H A D | static_variables_recursive.phpt | 6 function foo($i) { 7 static $a = $i <= 10 ? foo($i + 1) : "Done $i"; 9 return $i;
|
H A D | bug68215.phpt | 27 $i = 1; 33 $child[$i] = $fruit; 35 $i++; 40 $i = 1; 44 $arr[$i] = $fruit; 48 test($arr[$i], $fruit); 52 $i++;
|
/php-src/sapi/fpm/fpm/events/ |
H A D | devpoll.c | 70 int i; in fpm_event_devpoll_init() local 92 for (i = 0; i < max; i++) { in fpm_event_devpoll_init() 93 pollfds[i].fd = -1; in fpm_event_devpoll_init() 144 int ret, i; in fpm_event_devpoll_wait() local 166 for (i = 0; i < ret; i++) { in fpm_event_devpoll_wait() 173 if (q->ev && q->ev->fd == active_pollfds[i].fd) { in fpm_event_devpoll_wait()
|
/php-src/ext/zlib/tests/ |
H A D | gzdeflate_basic1.phpt | 25 for($i = -1; $i < 10; $i++) { 26 echo "-- Compression level $i --\n"; 27 $output = gzdeflate($data, $i); 32 for($i = -1; $i < 10; $i++) { 33 echo "-- Compression level $i --\n"; 34 $output = gzdeflate($smallstring, $i);
|
H A D | gzcompress_basic1.phpt | 25 for($i = -1; $i < 10; $i++) { 26 echo "-- Compression level $i --\n"; 27 $output = gzcompress($data, $i); 32 for($i = -1; $i < 10; $i++) { 33 echo "-- Compression level $i --\n"; 34 $output = gzcompress($smallstring, $i);
|
/php-src/Zend/ |
H A D | zend_attributes.c | 201 if (i >= attr->argc) { in zend_get_attribute_value() 287 uint32_t i; in attribute_ctor_cleanup() local 289 for (i = 0; i < argc; i++) { in attribute_ctor_cleanup() 290 zval_ptr_dtor(&args[i]); in attribute_ctor_cleanup() 314 for (uint32_t i = 0; i < attribute_data->argc; i++) { in zend_get_attribute_object() local 361 for (uint32_t i = 0; i < (sizeof(target_names) / sizeof(char *)); i++) { in zend_get_attribute_target_names() local 362 if (flags & (1 << i)) { in zend_get_attribute_target_names() 397 for (uint32_t i = 0; i < attr->argc; i++) { in attr_free() local 398 if (attr->args[i].name) { in attr_free() 434 for (uint32_t i = 0; i < argc; i++) { in zend_add_attribute() local [all …]
|
/php-src/ext/opcache/tests/jit/ |
H A D | shift_right_003.phpt | 14 for ($i = 0; ($int >> $i) > 0x80; $i += 7) { 15 $out .= \chr(0x80 | (($int >> $i) & 0x7f)); 17 return $out . \chr($int >> $i);
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug70219_1.phpt | 21 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;C:3:"obj":'.strlen($inner).':{'.$… 25 for ($i = 0; $i < 5; $i++) { 26 $v[$i] = 'hi'.$i;
|
/php-src/ext/filter/ |
H A D | sanitizing_filters.c | 99 size_t i; in php_filter_strip() local 111 for (i = 0; i < Z_STRLEN_P(value); i++) { in php_filter_strip() 112 if ((str[i] >= 127) && (flags & FILTER_FLAG_STRIP_HIGH)) { in php_filter_strip() 116 ZSTR_VAL(buf)[c] = str[i]; in php_filter_strip() 136 size_t l, i; in filter_map_update() local 139 for (i = 0; i < l; ++i) { in filter_map_update() 140 (*map)[allowed_list[i]] = flag; in filter_map_update() 147 size_t i, c; in filter_map_apply() local 153 for (i = 0; i < Z_STRLEN_P(value); i++) { in filter_map_apply() 154 if ((*map)[str[i]]) { in filter_map_apply() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bin2hex.phpt | 6 for($i=0; $i<256; $i++) { 7 $s .= chr($i);
|