Home
last modified time | relevance | path

Searched refs:i (Results 151 – 175 of 1947) sorted by relevance

12345678910>>...78

/PHP-7.4/ext/spl/tests/
H A DSplObjectStorage_unserialize_bad.phpt7 'x:i:2;i:0;,i:1;;i:0;,i:2;;m:a:0:{}',
8 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};R:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}',
9 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};r:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}',
10 'x:i:1;O:8:"stdClass":0:{},N;;m:s:40:"1234567890123456789012345678901234567890"',
H A DSplObjectStorage_unserialize_nested.phpt21 O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:8:"stdClass":1:{s:1:"a";O:8:"stdClass":0:{}}i:1;i:1;i:2;r…
H A Dbug50579.phpt15 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
16 $i->replacement = '[$0]';
17 foreach ($i as $name=>$value) {
21 $i->replacement = '$1';
22 foreach ($i as $name=>$value) {
27 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
28 $i->replacement = '[$1]';
29 foreach ($i as $name=>$value) {
/PHP-7.4/tests/lang/operators/
H A Doperator_gt_variation.phpt25 for ($i = 0; $i < count($validGreaterThan); $i +=2) {
26 $typeToTestVal = $validGreaterThan[$i];
27 $compares = $validGreaterThan[$i + 1];
39 for ($i = 0; $i < count($invalidGreaterThan); $i +=2) {
40 $typeToTestVal = $invalidGreaterThan[$i];
41 $compares = $invalidGreaterThan[$i + 1];
H A Doperator_lt_variation.phpt23 for ($i = 0; $i < count($validLessThan); $i +=2) {
24 $typeToTestVal = $validLessThan[$i];
25 $compares = $validLessThan[$i + 1];
37 for ($i = 0; $i < count($invalidLessThan); $i +=2) {
38 $typeToTestVal = $invalidLessThan[$i];
39 $compares = $invalidLessThan[$i + 1];
H A Doperator_gt_variation_64bit.phpt29 for ($i = 0; $i < count($validGreaterThan); $i +=2) {
30 $typeToTestVal = $validGreaterThan[$i];
31 $compares = $validGreaterThan[$i + 1];
43 for ($i = 0; $i < count($invalidGreaterThan); $i +=2) {
44 $typeToTestVal = $invalidGreaterThan[$i];
45 $compares = $invalidGreaterThan[$i + 1];
H A Doperator_lt_variation_64bit.phpt27 for ($i = 0; $i < count($validLessThan); $i +=2) {
28 $typeToTestVal = $validLessThan[$i];
29 $compares = $validLessThan[$i + 1];
41 for ($i = 0; $i < count($invalidLessThan); $i +=2) {
42 $typeToTestVal = $invalidLessThan[$i];
43 $compares = $invalidLessThan[$i + 1];
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_language.c84 int i, j; in mbfl_name2language() local
90 i = 0; in mbfl_name2language()
91 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_name2language()
97 i = 0; in mbfl_name2language()
98 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_name2language()
105 i = 0; in mbfl_name2language()
106 while ((language = mbfl_language_ptr_table[i++]) != NULL) { in mbfl_name2language()
125 int i; in mbfl_no2language() local
127 i = 0; in mbfl_no2language()
128 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_no2language()
/PHP-7.4/ext/hash/
H A Dhash_sha.c172 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ argument
488 for(i = 0; i < 16; i++) { in SHA256Transform()
489 W[i] = x[i]; in SHA256Transform()
491 for(i = 16; i < 64; i++) { in SHA256Transform()
492 W[i] = SHA256_F5(W[i-2]) + W[i-7] + SHA256_F4(W[i-15]) + W[i-16]; in SHA256Transform()
495 for (i = 0; i < 64; i++) { in SHA256Transform()
798 for(i = 0; i < 16; i++) { in SHA512Transform()
799 W[i] = x[i]; in SHA512Transform()
801 for(i = 16; i < 80; i++) { in SHA512Transform()
802 W[i] = SHA512_F5(W[i-2]) + W[i-7] + SHA512_F4(W[i-15]) + W[i-16]; in SHA512Transform()
[all …]
/PHP-7.4/ext/standard/tests/math/
H A Dnumber_format_multichar.phpt19 for ($i = 0; $i < count($values); $i++) {
20 $res = number_format($values[$i], 2, '&#183;', ' ');
25 for ($i = 0; $i < count($values); $i++) {
26 $res = number_format($values[$i], 2, '.' , '&thinsp;');
31 for ($i = 0; $i < count($values); $i++) {
32 $res = number_format($values[$i], 2, '&#183;' , '&thinsp;');
/PHP-7.4/ext/dba/tests/
H A Ddba_cdb_read.phpt25 for ($i=1; $i<8; $i++) {
26 echo dba_exists($i, $db_file) ? "Y" : "N";
42 for ($i=0; $i < strlen($keys); $i++) {
43 $key = substr($keys, $i, 1);
48 for ($i=0; $i < strlen($keys); $i++) {
49 $key = substr($keys, $i, 1);
/PHP-7.4/Zend/tests/generators/
H A Dxrange.phpt7 for ($i = $start; $i <= $end; $i += $step) {
8 yield $i;
12 foreach (xrange(10, 20, 2) as $i) {
13 var_dump($i);
/PHP-7.4/ext/date/lib/
H A Dparse_tz.c184 for (i = 0; i < tz->bit64.timecnt; i++) { in read_64bit_transitions()
187 if (i > 0 && !(buffer[i] > buffer[i - 1])) { in read_64bit_transitions()
235 for (i = 0; i < tz->bit64.typecnt; i++) { in read_64bit_types()
266 for (i = 0; i < tz->bit64.leapcnt; i++) { in read_64bit_types()
282 for (i = 0; i < tz->bit64.ttisstdcnt; i++) { in read_64bit_types()
297 for (i = 0; i < tz->bit64.ttisgmtcnt; i++) { in read_64bit_types()
396 for (i = 0; i < tz->bit64.timecnt; i++) { in timelib_dump_tzinfo()
398 tz->trans[i], tz->trans[i], tz->trans_idx[i], in timelib_dump_tzinfo()
407 for (i = 0; i < tz->bit64.leapcnt; i++) { in timelib_dump_tzinfo()
625 for (i = 0; i < tz->bit64.timecnt; i++) { in fetch_timezone_offset()
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug70219.phpt20 $inner = 'ryat|a:1:{i:0;a:1:{i:1;';
21 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;R:4;}';
25 for ($i = 0; $i < 5; $i++) {
26 $v[$i] = 'hi'.$i;
/PHP-7.4/ext/gd/tests/
H A Dbug73291.phpt14 for ($i = 254; $i > 0; $i--) {
15 $color = imagecolorallocate($src, $i, $i, $i);
16 imagefilledellipse($src, 127, 127, $i, $i, $color);
/PHP-7.4/ext/standard/tests/array/
H A Darray_chunk_variation24.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.4/sapi/phpdbg/
H A Dphpdbg_io.c61 int i; in ZEND_EXTERN_MODULE_GLOBALS() local
66 for (i = len; i < len + bytes; i++) { in ZEND_EXTERN_MODULE_GLOBALS()
69 memmove(buf + i, buf + i + 1, len + bytes - i - 1); in ZEND_EXTERN_MODULE_GLOBALS()
72 i--; in ZEND_EXTERN_MODULE_GLOBALS()
83 return i; in ZEND_EXTERN_MODULE_GLOBALS()
130 while(i > 0) {
140 i = can_read;
155 i -= got_now;
163 int sent, i = len; local
166 while(i > 0) {
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dinflate_init_reuse.phpt16 for ($i=0;$i<strlen($compressed);$i++) {
17 $inflated .= inflate_add($resource, $compressed[$i]);
24 for ($i=0;$i<strlen($compressed);$i++) {
25 $inflated .= inflate_add($resource, $compressed[$i]);
/PHP-7.4/Zend/tests/
H A Dbug71859.phpt9 for ($i = 0; $i < 10000; ++$i) {
10 $GLOBALS["a$i"] = new stdClass;
22 for ($i = 0; $i < 200; ++$i) {
23 $GLOBALS["b$i"] = new stdClass;
H A Dgc_012.phpt8 for ($i=0; $i < 1000; $i++) {
9 $a[$i] = array(array());
10 $a[$i][0] = & $a[$i];
/PHP-7.4/ext/date/tests/
H A Dbug68942.phpt5 $data = unserialize('a:2:{i:0;O:12:"DateTimeZone":2:{s:13:"timezone_type";a:2:{i:0;i:1;i:1;i:2;}s:8…
12 #1 %s(%d): unserialize('a:2:{i:0;O:12:"...')
H A Dbug63435.phpt7 for ($i=1 ; $i<999 ; $i++) {
8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i));
10 if ($res != $i) {
11 echo "$i != $res\n";
/PHP-7.4/ext/ctype/tests/
H A Dbug25745.phpt14 for ($i = 0; $i < 256; $i++) {
15 $a = $ctype_func($i);
16 $b = $ctype_func(chr($i));
18 echo "broken... $ctype_func($i) = $a, $ctype_func(chr($i)) = $b\n";
/PHP-7.4/ext/ffi/tests/
H A D032.phpt17 uint8_t i[9];
20 for ($i = -5; $i < 9; $i++) {
21 $p->s->c = $i;
22 $p->s->d = $i;
23 echo "$i => 3-bit int {$p->s->c}, 3-bit uint {$p->s->d}\n";
30 for ($i = 9; $i > 0;) {
31 printf("%02x", $p->i[--$i]);
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_070.phpt13 public static int $i = 0;
27 Foo::$i += stringRef();
28 var_dump(Foo::$i);
31 Foo::$i += PHP_INT_MAX;
33 var_dump(Foo::$i);
36 Foo::$i .= PHP_INT_MAX;
38 var_dump(Foo::$i);
46 Typed property Foo::$i must be int, float used
48 Typed property Foo::$i must be int, string used

Completed in 45 milliseconds

12345678910>>...78