/PHP-7.4/ext/spl/tests/ |
H A D | SplObjectStorage_unserialize_bad.phpt | 7 '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 D | SplObjectStorage_unserialize_nested.phpt | 21 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 D | bug50579.phpt | 15 $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 D | operator_gt_variation.phpt | 25 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 D | operator_lt_variation.phpt | 23 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 D | operator_gt_variation_64bit.phpt | 29 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 D | operator_lt_variation_64bit.phpt | 27 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 D | mbfl_language.c | 84 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 D | hash_sha.c | 172 #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 D | number_format_multichar.phpt | 19 for ($i = 0; $i < count($values); $i++) { 20 $res = number_format($values[$i], 2, '·', ' '); 25 for ($i = 0; $i < count($values); $i++) { 26 $res = number_format($values[$i], 2, '.' , ' '); 31 for ($i = 0; $i < count($values); $i++) { 32 $res = number_format($values[$i], 2, '·' , ' ');
|
/PHP-7.4/ext/dba/tests/ |
H A D | dba_cdb_read.phpt | 25 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 D | xrange.phpt | 7 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 D | parse_tz.c | 184 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 D | bug70219.phpt | 20 $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 D | bug73291.phpt | 14 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 D | array_chunk_variation24.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.4/sapi/phpdbg/ |
H A D | phpdbg_io.c | 61 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 D | inflate_init_reuse.phpt | 16 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 D | bug71859.phpt | 9 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 D | gc_012.phpt | 8 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 D | bug68942.phpt | 5 $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 D | bug63435.phpt | 7 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 D | bug25745.phpt | 14 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 D | 032.phpt | 17 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 D | typed_properties_070.phpt | 13 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
|