/PHP-7.2/ext/standard/tests/array/ |
H A D | array_fill.phpt | 7 foreach($array1 as $start) 14 echo 'start: '.$start.' num: '.$num.' value: '.$value."\n"; 25 start: 0 num: 0 value: 1 29 start: 0 num: 0 value: 33 start: 0 num: 0 value: 37 start: 0 num: 0 value: d 41 start: 0 num: 0 value: e 45 start: 0 num: 0 value: f 49 start: 0 num: 1 value: 1 55 start: 0 num: 1 value: [all …]
|
/PHP-7.2/ext/date/tests/ |
H A D | DateTime_data-fall-type3-type2.inc | 26 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 33); 31 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 37 examine_diff($end, $start, 'P+0Y0M0DT6H34M5S', 0); 43 examine_diff($end, $start, 'P+0Y0M0DT7H36M16S', 0); 48 examine_diff($end, $start, 'P+0Y0M0DT9H38M27S', 0); 53 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 63 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 68 examine_diff($end, $start, 'P+0Y0M0DT1H2M13S', 0); 73 examine_diff($end, $start, 'P+0Y0M0DT2H4M24S', 0); 78 examine_diff($end, $start, 'P+0Y0M0DT4H6M35S', 0); [all …]
|
H A D | DateTime_data-fall-type2-type2.inc | 26 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 33); 31 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 36 examine_diff($end, $start, 'P+0Y0M0DT6H34M5S', 0); 41 examine_diff($end, $start, 'P+0Y0M0DT7H36M16S', 0); 46 examine_diff($end, $start, 'P+0Y0M0DT9H38M27S', 0); 51 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 61 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 66 examine_diff($end, $start, 'P+0Y0M0DT1H2M13S', 0); 71 examine_diff($end, $start, 'P+0Y0M0DT2H4M24S', 0); 76 examine_diff($end, $start, 'P+0Y0M0DT4H6M35S', 0); [all …]
|
H A D | DateTime_data-fall-type3-type3.inc | 26 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 33); 31 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 37 examine_diff($end, $start, 'P+0Y0M0DT6H34M5S', 0); 43 examine_diff($end, $start, 'P+0Y0M0DT7H36M16S', 0); 48 examine_diff($end, $start, 'P+0Y0M0DT9H38M27S', 0); 53 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 63 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 69 examine_diff($end, $start, 'P+0Y0M0DT1H2M13S', 0); 75 examine_diff($end, $start, 'P+0Y0M0DT2H4M24S', 0); 80 examine_diff($end, $start, 'P+0Y0M0DT4H6M35S', 0); [all …]
|
H A D | DateTime_data-fall-type2-type3.inc | 26 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 33); 31 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 37 examine_diff($end, $start, 'P+0Y0M0DT6H34M5S', 0); 43 examine_diff($end, $start, 'P+0Y0M0DT7H36M16S', 0); 48 examine_diff($end, $start, 'P+0Y0M0DT9H38M27S', 0); 53 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 63 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 69 examine_diff($end, $start, 'P+0Y0M0DT1H2M13S', 0); 75 examine_diff($end, $start, 'P+0Y0M0DT2H4M24S', 0); 80 examine_diff($end, $start, 'P+0Y0M0DT4H6M35S', 0); [all …]
|
H A D | DateTime_data-spring-type2-type3.inc | 24 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 30); 29 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 34 examine_diff($end, $start, 'P+0Y0M0DT7H38M27S', 0); 39 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 44 examine_diff($end, $start, 'P-0Y0M0DT5H31M52S', 0); 49 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 54 examine_diff($end, $start, 'P+0Y0M0DT2H6M35S', 0); 69 examine_diff($end, $start, 'P-0Y0M0DT2H6M35S', 0); 74 examine_diff($end, $start, 'P+0Y0M0DT2H3M1S', 0); 99 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); [all …]
|
H A D | DateTime_data-spring-type3-type2.inc | 24 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 30); 29 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 34 examine_diff($end, $start, 'P+0Y0M0DT7H38M27S', 0); 39 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 44 examine_diff($end, $start, 'P-0Y0M0DT5H31M52S', 0); 49 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 54 examine_diff($end, $start, 'P+0Y0M0DT2H6M35S', 0); 69 examine_diff($end, $start, 'P-0Y0M0DT2H6M35S', 0); 74 examine_diff($end, $start, 'P+0Y0M0DT2H3M1S', 0); 99 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); [all …]
|
H A D | DateTime_data-spring-type3-type3.inc | 24 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 30); 29 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 34 examine_diff($end, $start, 'P+0Y0M0DT7H38M27S', 0); 39 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 44 examine_diff($end, $start, 'P-0Y0M0DT5H31M52S', 0); 49 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 54 examine_diff($end, $start, 'P+0Y0M0DT2H6M35S', 0); 69 examine_diff($end, $start, 'P-0Y0M0DT2H6M35S', 0); 74 examine_diff($end, $start, 'P+0Y0M0DT2H3M1S', 0); 99 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 17 $start = new DateTime('2010-03-14 01:59:59 -0500'); 22 $start = new DateTime('2010-03-13 04:30:00 -0500'); 27 $start = new DateTime('2010-03-13 04:30:00 -0500'); 32 $start = new DateTime('2010-03-13 04:30:00 -0500'); 37 $start = new DateTime('2010-03-13 01:30:00 -0500'); 42 $start = new DateTime('2010-03-13 03:30:00 -0500'); 47 $start = new DateTime('2010-03-13 02:30:00 -0500'); 57 $start = new DateTime('2010-03-14 01:59:59 -0500'); 63 $start = new DateTime('2010-03-13 04:30:00 -0500'); 69 $start = new DateTime('2010-03-13 04:30:00 -0500'); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-ba.phpt | 16 $start = new DateTime('2010-11-07 01:59:59'); 22 $start = new DateTime('2010-11-06 04:30:00'); 28 $start = new DateTime('2010-11-06 04:30:00'); 34 $start = new DateTime('2010-11-06 04:30:00'); 40 $start = new DateTime('2010-11-06 04:30:00'); 46 $start = new DateTime('2010-11-06 04:30:00'); 52 $start = new DateTime('2010-11-06 01:30:00'); 58 $start = new DateTime('2010-11-06 01:30:00'); 64 $start = new DateTime('2010-11-06 04:30:00'); 70 $start = new DateTime('2010-11-06 03:30:00'); [all …]
|
H A D | DateTime_data-spring-type2-type2.inc | 24 examine_diff($end, $start, 'P+0Y1M2DT16H19M40S', 30); 29 examine_diff($end, $start, 'P+0Y0M0DT5H31M52S', 0); 34 examine_diff($end, $start, 'P+0Y0M0DT7H38M27S', 0); 39 examine_diff($end, $start, 'P+0Y0M2DT1H21M31S', 2); 44 examine_diff($end, $start, 'P-0Y0M0DT5H31M52S', 0); 49 examine_diff($end, $start, 'P+0Y0M0DT0H5M15S', 0); 54 examine_diff($end, $start, 'P+0Y0M0DT2H6M35S', 0); 69 examine_diff($end, $start, 'P-0Y0M0DT2H6M35S', 0); 74 examine_diff($end, $start, 'P+0Y0M0DT2H3M1S', 0); 99 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fd.phpt | 17 $start = new DateTime('2010-03-14 01:59:59'); 19 . ' = ' . $start->diff($end)->format('PT%hH%iM%sS') . "\n"; 22 $start = new DateTime('2010-03-13 04:30:00'); 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 27 $start = new DateTime('2010-03-13 04:30:00'); 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 32 $start = new DateTime('2010-03-13 04:30:00'); 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 37 $start = new DateTime('2010-03-13 01:30:00'); 42 $start = new DateTime('2010-03-13 03:30:00'); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type2.phpt | 17 $start = new DateTime('2010-03-14 01:59:59 EST'); 22 $start = new DateTime('2010-03-13 04:30:00 EST'); 27 $start = new DateTime('2010-03-13 04:30:00 EST'); 32 $start = new DateTime('2010-03-13 04:30:00 EST'); 37 $start = new DateTime('2010-03-13 01:30:00 EST'); 42 $start = new DateTime('2010-03-13 03:30:00 EST'); 47 $start = new DateTime('2010-03-13 02:30:00 EST'); 57 $start = new DateTime('2010-03-14 01:59:59 EST'); 63 $start = new DateTime('2010-03-13 04:30:00 EST'); 69 $start = new DateTime('2010-03-13 04:30:00 EST'); [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fa.phpt | 16 $start = new DateTime('2010-03-14 01:59:59'); 20 . $start->add($interval)->format($date_format) . "\n"; 22 $start = new DateTime('2010-03-13 04:30:00'); 26 . $start->add($interval)->format($date_format) . "\n"; 28 $start = new DateTime('2010-03-13 04:30:00'); 32 . $start->add($interval)->format($date_format) . "\n"; 34 $start = new DateTime('2010-03-13 04:30:00'); 38 . $start->add($interval)->format($date_format) . "\n"; 40 $start = new DateTime('2010-03-13 01:30:00'); 44 . $start->add($interval)->format($date_format) . "\n"; [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bd1.phpt | 17 $start = new DateTime('2010-11-06 04:30:00'); 18 echo 'bd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format) 19 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 22 $start = new DateTime('2010-11-06 04:30:00'); 24 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 27 $start = new DateTime('2010-11-06 04:30:00'); 29 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 32 $start = new DateTime('2010-11-06 04:30:00'); 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 37 $start = new DateTime('2010-11-06 01:30:00'); [all …]
|
H A D | DateTime_data-massive.inc | 19 $start = new DateTime; 20 $start->setDate(-333333, 1, 1); 21 $start->setTime(16, 18, 02); 23 examine_diff($end, $start, 'P+666666Y0M0DT0H0M0S', 243494757); 30 $start = new DateTime; 31 $start->setDate(333333, 1, 1); 32 $start->setTime(16, 18, 02); 34 examine_diff($end, $start, 'P-666666Y0M0DT0H0M0S', 243494757);
|
H A D | bug41599.phpt | 7 $start = new DateTime('2008-01-17 last Monday'); 8 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 11 $start->modify('Tuesday'); 12 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 15 $start->setTime(4, 0, 0); 16 echo $start->format('Y-m-d H:i:s'),PHP_EOL; 19 $start->setTime(8, 0, 0); 20 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
|
H A D | rfc-datetime_and_daylight_saving_time-type3-bd2.phpt | 28 $start = new DateTime('2010-11-06 04:30:59'); 29 echo 'bd0 ' . $end->format($date_format) . ' - ' . $start->format($date_format) 30 . ' = ' . $start->diff($end)->format('P%dDT%hH%iM%sS') . "\n"; 34 $start = new DateTime('2010-11-06 04:30:00'); 35 echo 'bd5 ' . $end->format($date_format) . ' - ' . $start->format($date_format) 36 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 40 $start = new DateTime('2010-11-06 04:30:00'); 41 echo 'bd6 ' . $end->format($date_format) . ' - ' . $start->format($date_format) 42 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 46 $start = new DateTime('2010-11-06 01:30:00'); [all …]
|
H A D | DatePeriod_properties1.phpt | 8 $start = new DateTime; 11 $period = new DatePeriod($start, $interval, $end); 19 echo "start: "; 20 var_dump($period->start == $start); 34 start: bool(true)
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_charset.c | 32 if (start >= end) { in check_mb_utf8mb3_sequence() 201 return (valid_big5head(*(start)) && (end - start) > 1 && valid_big5tail(*(start + 1)) ? 2 : 0); in check_mb_big5() 267 if (valid_eucjpms(start[0]) && (end - start) > 1 && valid_eucjpms(start[1])) { in check_mb_eucjpms() 270 if (valid_eucjpms_ss2(start[0]) && (end - start) > 1 && valid_eucjpms_kata(start[1])) { in check_mb_eucjpms() 273 if (valid_eucjpms_ss3(start[0]) && (end - start) > 2 && valid_eucjpms(start[1]) && in check_mb_eucjpms() 319 return (valid_gbk_head(start[0]) && (end) - (start) > 1 && valid_gbk_tail(start[1])) ? 2 : 0; in check_mb_gbk() 371 if (valid_ujis(*(start)) && valid_ujis(*((start)+1))) { in check_mb_ujis() 377 …if (valid_ujis_ss3(*(start)) && (end-start) > 2 && valid_ujis(*((start)+1)) && valid_ujis(*((start… in check_mb_ujis() 403 return (start + 4 <= end) && UTF16_LOW_HEAD(start[2]) ? 4 : 0; in check_mb_utf16() 461 if (end - start <= 1 || !is_gb18030_odd(start[0])) { in my_ismbchar_gb18030() [all …]
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | substr_replace.phpt | 7 $start = 2; 35 $start = 4; 52 $start = array(4); 80 $start = 4; 91 $start = 4; 101 $start = 4; 110 $start = 4; 120 $start = 4; 128 $start = 4; 138 $start = 4; [all …]
|
H A D | strcspn_variation3.phpt | 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 164 -- Iteration with start value as "" -- 168 -- Iteration with start value as "" -- 172 -- Iteration with start value as "1" -- 176 -- Iteration with start value as "" -- 180 -- Iteration with start value as "1" -- 184 -- Iteration with start value as "" -- 188 -- Iteration with start value as "" -- 196 -- Iteration with start value as "" -- 228 -- Iteration with start value as "" -- [all …]
|
H A D | strspn_variation3.phpt | 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 164 -- Iteration with start value as "" -- 168 -- Iteration with start value as "" -- 172 -- Iteration with start value as "1" -- 176 -- Iteration with start value as "" -- 180 -- Iteration with start value as "1" -- 184 -- Iteration with start value as "" -- 188 -- Iteration with start value as "" -- 196 -- Iteration with start value as "" -- 228 -- Iteration with start value as "" -- [all …]
|
/PHP-7.2/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_mkdir.phpt | 9 $start = realpath(dirname(__FILE__)); 10 if (strlen($start) > 260 || strlen($start) > 248) { 26 $start = realpath(dirname(__FILE__)); 27 if (strlen($start) <= 248) { 29 $start = $start . "\\" . str_repeat('a', 251 - strlen($start) - 1); 32 var_dump($start); 33 $p = $start . "\\" . $p;
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_source_window.c | 41 zip_uint64_t start; member 56 return _zip_source_window_new(src, start, len, NULL, &za->error); in zip_source_window() 65 if (src == NULL || start + length < start) { in _zip_source_window_new() 75 ctx->start = start; in _zip_source_window_new() 76 ctx->end = start + length; in _zip_source_window_new() 136 for (n=0; n<ctx->start; n+=(zip_uint64_t)ret) { in window_read() 137 i = (ctx->start-n > sizeof(b) ? sizeof(b) : ctx->start-n); in window_read() 149 ctx->offset = ctx->start; in window_read() 183 …ew_offset = zip_source_seek_compute_offset(ctx->offset - ctx->start, ctx->end - ctx->start, data, … in window_read() 189 ctx->offset = (zip_uint64_t)new_offset + ctx->start; in window_read() [all …]
|