/PHP-7.2/ext/standard/tests/array/ |
H A D | array_chunk_variation17.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/ext/date/tests/ |
H A D | mktime_basic1.phpt | 5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat… 35 int(%i) 36 int(%i) 37 int(%i) 38 int(%i) 39 int(%i) 40 int(%i)
|
H A D | bug30532.phpt | 8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n"; 9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n"; 10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n"; 14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n"; 15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n"; 16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
|
/PHP-7.2/ext/dba/tests/ |
H A D | dba_optimize.phpt | 16 $i=0; 19 $i++; 21 echo $i; 22 for ($i=1; $i<3; $i++) { 23 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
H A D | dba_sync.phpt | 16 $i=0; 19 $i++; 21 echo $i; 22 for ($i=1; $i<3; $i++) { 23 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | bug72433.phpt | 7 for($i = 0; $i < 100; $i++) 10 $serialized_payload = 'a:3:{i:0;r:1;i:1;r:1;i:2;C:11:"ArrayObject":19:{x:i:0;r:1;;m:a:0:{}}}';
|
H A D | ord_basic.phpt | 26 for ($i = 0; $i < 255; $i++) { 27 if (ord(chr($i)) != $i) { 28 exit("TEST FAILED: $i does not round trip\n");
|
H A D | add-and-stripslashes.phpt | 7 for($i=0; $i<512; $i++) { 8 $input .= chr($i%256);
|
/PHP-7.2/ext/pgsql/tests/ |
H A D | 80_bug27597.phpt | 20 for ($i=0; $i<4; $i++) { 21 pg_query("INSERT INTO id (id) VALUES ($i)"); 30 $i = 0; // endless-loop protection 33 if ($i++ > 4) {
|
/PHP-7.2/scripts/dev/generate-phpt/src/ |
H A D | gtMethod.php | 35 foreach($constructor->getParameters() as $i => $param) { 52 foreach ($methodClass->getParameters() as $i => $param) { 98 for( $i = 0; $i < count( $this->constructorArgumentNames ); $i++) { 99 $this->constructorArgumentList .= "\$".$this->constructorArgumentNames[$i].", ";
|
/PHP-7.2/ext/opcache/tests/ |
H A D | bug76074.phpt | 9 for ($i = $nr; $i <= $nr + 1; $i++) 10 var_dump($i);
|
H A D | ssa_bug_009.phpt | 12 for ($i = 1; $i <= $lines; $i++) { 13 $data[$uncoveredFile][$i] = PHP_CodeCoverage_Driver::LINE_NOT_EXECUTED;
|
/PHP-7.2/ext/pcre/pcrelib/testdata/ |
H A D | testinput10 | 389 /\p{Lu}/8i 396 /\p{^Lu}/8i 401 /\P{Lu}/8i 460 /\pL/8i 470 /\p{Lu}/8i 482 /\p{Ll}/8i 1331 /ist/8i 1334 /is+t/8i 1338 /is+?t/8i 1341 /is?t/8i [all …]
|
/PHP-7.2/ext/posix/tests/ |
H A D | posix_times_basic.phpt | 27 int(%i) 29 int(%i) 31 int(%i) 33 int(%i) 35 int(%i)
|
/PHP-7.2/Zend/tests/ |
H A D | closure_011.phpt | 5 $i = 1; 6 $lambda = function () use ($i) { 7 return ++$i; 11 //early prototypes gave 3 here because $i was static in $lambda
|
/PHP-7.2/win32/ |
H A D | codepage.h | 129 int i; \ 135 for (i = 0; i < aw_len; i++) { \ 136 aa[i] = php_win32_cp_w_to_any(aw[i]); \ 142 int i; \ 143 for (i = 0; i < a_len; i++) { \ 144 free(a[i]); \
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 535 unsigned int i; in mysqlnd_stmt_free_copies() local 536 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_free_copies() 577 unsigned int i; in mysqlnd_stmt_execute_prepare_param_types() local 579 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_prepare_param_types() 634 unsigned int i; in mysqlnd_stmt_execute_store_types() local 635 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_types() 678 unsigned int i; in mysqlnd_stmt_execute_calculate_param_values_size() local 680 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_calculate_param_values_size() 769 unsigned int i; in mysqlnd_stmt_execute_store_param_values() local 770 for (i = 0; i < stmt->param_count; i++) { in mysqlnd_stmt_execute_store_param_values() [all …]
|
/PHP-7.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp5022x.c | 463 int i; in mbfl_filt_conv_wchar_jis_ms() local 471 s = ((i / 94 + oh + 0x21) << 8) + (i % 94 + 0x21); in mbfl_filt_conv_wchar_jis_ms() 480 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_jis_ms() 495 for (i = 0; i < limit; i++) { in mbfl_filt_conv_wchar_jis_ms() 694 int i; in mbfl_filt_conv_wchar_cp50221() local 699 i++) { in mbfl_filt_conv_wchar_cp50221() 712 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_cp50221() 727 for (i = 0; i < limit; i++) { in mbfl_filt_conv_wchar_cp50221() 842 int i; in mbfl_filt_conv_wchar_cp50222() local 859 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_cp50222() [all …]
|
/PHP-7.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.c | 229 int i, j; in mbfl_name2encoding() local 235 i = 0; in mbfl_name2encoding() 236 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL){ in mbfl_name2encoding() 243 i = 0; in mbfl_name2encoding() 244 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL) { in mbfl_name2encoding() 253 i = 0; in mbfl_name2encoding() 254 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL) { in mbfl_name2encoding() 273 int i; in mbfl_no2encoding() local 275 i = 0; in mbfl_no2encoding() 276 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL){ in mbfl_no2encoding()
|
/PHP-7.2/ext/hash/ |
H A D | hash_whirlpool.c | 43 int i, r; in WhirlpoolTransform() local 53 for (i = 0; i < 8; i++, buffer += 8) { in WhirlpoolTransform() 54 block[i] = in WhirlpoolTransform() 287 int i; in PHP_WHIRLPOOLUpdate() local 293 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != L64(0)); i--) { in PHP_WHIRLPOOLUpdate() 294 carry += bitLength[i] + ((uint32_t)value & 0xff); in PHP_WHIRLPOOLUpdate() 295 bitLength[i] = (unsigned char)carry; in PHP_WHIRLPOOLUpdate() 379 int i; in PHP_WHIRLPOOLFinal() local 421 for (i = 0; i < DIGESTBYTES/8; i++) { in PHP_WHIRLPOOLFinal() 422 digest[0] = (unsigned char)(context->state[i] >> 56); in PHP_WHIRLPOOLFinal() [all …]
|
/PHP-7.2/ext/standard/ |
H A D | array.c | 1312 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 1358 for (i = 1; i < argc; i++) { in PHP_FUNCTION() 3206 for (i = 0; i < argc; i++) { 3406 for (i = 0; i < argc; i++) { 3812 for (i = 0; i < argc; i++) { 3841 for (i = 0; i < argc; i++) { 4557 arTmp[i].i = i; 4658 for (i = 0; i < argc; i++) { 5074 for (i = 0; i < argc; i++) { 5434 for (i = 1; i < argc; i++) { [all …]
|
/PHP-7.2/ext/gd/tests/ |
H A D | imagecopyresampled_variation1.phpt | 22 for ($i = 0; $i < imagesx($im); $i++) { 24 imagesetpixel($im, $i, $j, ($i%2 != $j%2 ? $solid : $transparent)); 36 for ($i = 0; $i < imagesx($copy); $i++) { 38 if (imagecolorat($copy, $i, $j) != $color) {
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | proc_open_pipes3.phpt | 8 for ($i = 3; $i<= 5; $i++) { 9 $spec[$i] = array('pipe', 'w'); 15 $spec[$i] = array('pi'); 18 $spec[$i] = 1; 21 $spec[$i] = array('pipe', "test"); 25 $spec[$i] = array('file', "test", "z");
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | der.c | 176 uint8_t digits, i; in getlength() local 201 for (i = 0; i < digits; i++) in getlength() 224 uint32_t i; in der_data() local 235 for (i = 0; i < len; i++) { in der_data() 236 uint32_t z = i << 1; in der_data() 238 snprintf(buf + z, blen - z, "%.2x", d[i]); in der_data() 261 for (size_t i = 0; i < m->cont_level; i++) in der_offs() local 262 printf("cont_level[%zu] = %u\n", i, ms->c.li[i].off); in der_offs() 350 for (uint32_t i = 0; i < len; i++) in printtag() local 351 printf("%.2x", d[i]); in printtag()
|
/PHP-7.2/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtVariationTestCase.php | 29 for($i=0; $i<count($statements); $i++) { 30 if($i != ( $this->argumentNumber -1) ) { 31 $this->testCase[] = $statements[$i];
|