/php-src/ext/standard/tests/array/ |
H A D | array_fill.phpt | 7 foreach($array1 as $start) 14 echo 'start: '.$start.' num: '.$num.' value: '. var_dump($value); 24 start: 0 num: 0 value: array(0) { 28 start: 0 num: 0 value: array(0) { 32 start: 0 num: 0 value: array(0) { 36 start: 0 num: 0 value: array(0) { 40 start: 0 num: 0 value: array(0) { 44 start: 0 num: 0 value: array(0) { 48 start: 0 num: 1 value: array(1) { 54 start: 0 num: 1 value: array(1) { [all …]
|
/php-src/ext/libxml/ |
H A D | mime_sniff.c | 173 start++; in is_empty_string_or_does_not_solely_contain_http_token_code_points() 185 start++; in solely_contains_http_quoted_string_tokens() 195 while (start < end && is_http_whitespace(*start)) { in php_libxml_sniff_charset_from_string() 196 start++; in php_libxml_sniff_charset_from_string() 211 start += type_length; in php_libxml_sniff_charset_from_string() 214 if (start >= end) { in php_libxml_sniff_charset_from_string() 219 start++; in php_libxml_sniff_charset_from_string() 235 while (start < end) { in php_libxml_sniff_charset_from_string() 237 start++; in php_libxml_sniff_charset_from_string() 251 if (start < end) { in php_libxml_sniff_charset_from_string() [all …]
|
/php-src/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 | 16 $start = new DateTime('2010-03-14 01:59:59 -0500'); 21 $start = new DateTime('2010-03-13 04:30:00 -0500'); 26 $start = new DateTime('2010-03-13 04:30:00 -0500'); 31 $start = new DateTime('2010-03-13 04:30:00 -0500'); 36 $start = new DateTime('2010-03-13 01:30:00 -0500'); 41 $start = new DateTime('2010-03-13 03:30:00 -0500'); 46 $start = new DateTime('2010-03-13 02:30:00 -0500'); 56 $start = new DateTime('2010-03-14 01:59:59 -0500'); 62 $start = new DateTime('2010-03-13 04:30:00 -0500'); 68 $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-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 04:30:00'); 46 $start = new DateTime('2010-03-13 01: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-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 | 26 $start = new DateTime('2010-11-07 01:59:59'); 27 echo 'bd0 ' . $end->format($date_format) . ' - ' . $start->format($date_format) 28 . ' = ' . $start->diff($end)->format('P%dDT%hH%iM%sS') . "\n"; 32 $start = new DateTime('2010-11-06 04:30:00'); 34 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 38 $start = new DateTime('2010-11-06 04:30:00'); 40 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 44 $start = new DateTime('2010-11-06 01:00:00'); 46 . ' = ' . $start->diff($end)->format($interval_format) . "\n"; 50 $start = new DateTime('2010-11-06 01:00:00'); [all …]
|
/php-src/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 …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_charset.c | 260 return (valid_big5head(*(start)) && (end - start) > 1 && valid_big5tail(*(start + 1)) ? 2 : 0); in check_mb_big5() 326 if (valid_eucjpms(start[0]) && (end - start) > 1 && valid_eucjpms(start[1])) { in check_mb_eucjpms() 329 if (valid_eucjpms_ss2(start[0]) && (end - start) > 1 && valid_eucjpms_kata(start[1])) { in check_mb_eucjpms() 332 if (valid_eucjpms_ss3(start[0]) && (end - start) > 2 && valid_eucjpms(start[1]) && in check_mb_eucjpms() 378 return (valid_gbk_head(start[0]) && (end) - (start) > 1 && valid_gbk_tail(start[1])) ? 2 : 0; in check_mb_gbk() 430 if (valid_ujis(*(start)) && valid_ujis(*((start)+1))) { in check_mb_ujis() 433 if (valid_ujis_ss2(*(start)) && valid_ujis_kata(*((start)+1))) { in check_mb_ujis() 436 …if (valid_ujis_ss3(*(start)) && (end-start) > 2 && valid_ujis(*((start)+1)) && valid_ujis(*((start… in check_mb_ujis() 462 return (start + 4 <= end) && UTF16_LOW_HEAD(start[2]) ? 4 : 0; in check_mb_utf16() 520 if (end - start <= 1 || !is_gb18030_odd(start[0])) { in my_ismbchar_gb18030() [all …]
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_mkdir.phpt | 9 $start = realpath(__DIR__); 10 if (strlen($start) > 260 || strlen($start) > 248) { 26 $start = realpath(__DIR__); 28 if (strlen($start) <= 248) { 30 $start = $start . "\\" . str_repeat('a', 251 - strlen($start) - 1); 34 var_dump($start); 35 $p = $start . "\\" . $p; 53 rmdir($start);
|
/php-src/Zend/tests/fibers/ |
H A D | double-start.phpt | 10 $fiber->start(); 12 $fiber->start(); 16 Fatal error: Uncaught FiberError: Cannot start a fiber that has already been started in %sdouble-st… 18 #0 %sdouble-start.php(%d): Fiber->start() 20 thrown in %sdouble-start.php on line %d
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitWXExecAllocatorWindows.c | 74 sljit_uw start = (sljit_uw)ptr - sizeof(sljit_uw); in sljit_free_exec() local 78 SLJIT_ASSERT(!(start & page_mask)); in sljit_free_exec() 80 VirtualFree((void*)start, 0, MEM_RELEASE); in sljit_free_exec() 87 sljit_uw start = (sljit_uw)from; in sljit_update_wx_flags() local 91 SLJIT_ASSERT(start < end); in sljit_update_wx_flags() 93 start &= ~page_mask; in sljit_update_wx_flags() 96 VirtualProtect((void*)start, end - start, prot, &oldprot); in sljit_update_wx_flags()
|
/php-src/Zend/ |
H A D | zend_sort.c | 110 char *start = (char *)base; in zend_insert_sort() local 113 char *sentry = start + (6 * siz); in zend_insert_sort() 119 while (j != start) { in zend_insert_sort() 144 if (j == start) { in zend_insert_sort() 147 if (j == start + siz) { in zend_insert_sort() 256 char *start = (char *)base; in zend_sort() local 263 zend_sort_5(start, start + delta, pivot, pivot + delta, end - siz, cmp, swp); in zend_sort() 267 swp(start + siz, pivot); in zend_sort() 268 pivot = start + siz; in zend_sort() 297 zend_sort(start, (i - start)/siz - 1, siz, cmp, swp); in zend_sort() [all …]
|