/PHP-7.4/ext/curl/tests/ |
H A D | curl_basic_010.phpt | 29 string(%d) "%r(Couldn't resolve proxy|Could not resolve proxy:|Could not resolve host:|Could not re…
|
H A D | curl_escape.phpt | 6 if (!function_exists("curl_escape")) exit("skip curl_escape doesn't exists");
|
H A D | curl_reset.phpt | 5 if (!function_exists("curl_reset")) exit("skip curl_reset doesn't exists (require libcurl >= 7.12.1…
|
H A D | server.inc | 15 $cmd = [$php_executable, '-t', $doc_root, '-n', '-S', PHP_CURL_SERVER_ADDRESS, $router];
|
/PHP-7.4/ext/date/lib/ |
H A D | astro.c | 219 t, /* Diurnal arc */ in timelib_astro_rise_set_altitude() local 271 t = 0.0; /* Sun always below altit */ in timelib_astro_rise_set_altitude() 276 t = 12.0; /* Sun always above altit */ in timelib_astro_rise_set_altitude() 281 t = acosd(cost) / 15.0; /* The diurnal arc, hours */ in timelib_astro_rise_set_altitude() 284 *ts_rise = ((tsouth - t) * 3600) + t_utc->sse; in timelib_astro_rise_set_altitude() 285 *ts_set = ((tsouth + t) * 3600) + t_utc->sse; in timelib_astro_rise_set_altitude() 287 *h_rise = (tsouth - t); in timelib_astro_rise_set_altitude() 288 *h_set = (tsouth + t); in timelib_astro_rise_set_altitude()
|
H A D | interval.c | 120 t->have_relative = 1; in timelib_add() 121 t->sse_uptodate = 0; in timelib_add() 129 t->sse += t->z; in timelib_add() 133 t->have_relative = 0; in timelib_add() 135 return t; in timelib_add() 155 t->have_relative = 1; in timelib_sub() 156 t->sse_uptodate = 0; in timelib_sub() 163 t->sse += t->z; in timelib_sub() 168 t->sse += t->z; in timelib_sub() 173 t->have_relative = 0; in timelib_sub() [all …]
|
H A D | parse_date.c | 794 t->is_localtime = 1; in timelib_parse_tz_minutes() 796 t->dst = 0; in timelib_parse_tz_minutes() 800 t->is_localtime = 1; in timelib_parse_tz_minutes() 802 t->dst = 0; in timelib_parse_tz_minutes() 824 t->is_localtime = 1; in timelib_parse_zone() 827 t->dst = 0; in timelib_parse_zone() 832 t->is_localtime = 1; in timelib_parse_zone() 835 t->dst = 0; in timelib_parse_zone() 843 t->is_localtime = 1; in timelib_parse_zone() 857 t->tz_info = res; in timelib_parse_zone() [all …]
|
H A D | parse_date.re | 794 t->dst = 0; 800 t->dst = 0; 825 t->dst = 0; 833 t->dst = 0; 891 space = [ \t]+; 961 datefull = day ([ \t.-])* monthtext ([ \t.-])* year; 964 datetextual = monthtext ([ .\t-])* day [,.stndrh\t ]+ year; 965 datenoyear = monthtext ([ .\t-])* day ([,.stndrh\t ]+|[\000]); 1805 [ .,\t] 1829 int t; [all …]
|
H A D | parse_iso_intervals.c | 938 int t; in timelib_strtointerval() local 1016 t = scan(&in); in timelib_strtointerval() 1018 printf("%d\n", t); in timelib_strtointerval() 1020 } while(t != EOI); in timelib_strtointerval()
|
H A D | parse_iso_intervals.re | 191 space = [ \t]+; 303 [ .,\t/] 333 int t; 411 t = scan(&in); 413 printf("%d\n", t); 415 } while(t != EOI);
|
H A D | parse_tz.c | 487 timelib_tzinfo *t; in timelib_tzinfo_ctor() local 488 t = timelib_calloc(1, sizeof(timelib_tzinfo)); in timelib_tzinfo_ctor() 489 t->name = timelib_strdup(name); in timelib_tzinfo_ctor() 491 return t; in timelib_tzinfo_ctor() 694 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset() argument 699 switch (t->zone_type) { in timelib_get_current_offset() 702 return t->z + (t->dst * 3600); in timelib_get_current_offset() 705 gmt_offset = timelib_get_time_zone_info(t->sse, t->tz_info); in timelib_get_current_offset()
|
H A D | timelib.c | 60 timelib_time *t; in timelib_time_ctor() local 63 return t; in timelib_time_ctor() 69 TIMELIB_TIME_FREE(t); in timelib_time_dtor() 100 timelib_rel_time *t; in timelib_rel_time_ctor() local 103 return t; in timelib_rel_time_ctor() 108 TIMELIB_TIME_FREE(t); in timelib_rel_time_dtor() 132 timelib_time_offset *t; in timelib_time_offset_ctor() local 135 return t; in timelib_time_offset_ctor() 141 TIMELIB_TIME_FREE(t); in timelib_time_offset_dtor() 146 if (!t->sse_uptodate) { in timelib_get_tz_abbr_ptr() [all …]
|
H A D | timelib.h | 555 timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const tim… 636 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset); 645 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info); 660 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz); 722 timelib_sll timelib_get_current_offset(timelib_time *t); 785 void timelib_rel_time_dtor(timelib_rel_time* t); 805 void timelib_time_dtor(timelib_time* t); 836 void timelib_time_offset_dtor(timelib_time_offset* t); 952 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); 961 timelib_time *timelib_sub(timelib_time *t, timelib_rel_time *interval);
|
H A D | timelib_private.h | 131 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
|
H A D | unixtime2tm.c | 202 if (t->tz_abbr) { in timelib_set_timezone_from_offset() 205 t->tz_abbr = NULL; in timelib_set_timezone_from_offset() 208 t->have_zone = 1; in timelib_set_timezone_from_offset() 210 t->dst = 0; in timelib_set_timezone_from_offset() 216 if (t->tz_abbr) { in timelib_set_timezone_from_abbr() 222 t->have_zone = 1; in timelib_set_timezone_from_abbr() 241 t->tz_info = tz; in timelib_set_timezone() 242 if (t->tz_abbr) { in timelib_set_timezone() 248 t->have_zone = 1; in timelib_set_timezone() 267 timelib_unixtime2local(t, t->sse); in timelib_apply_localtime() [all …]
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 1136 offset->offset = (t->z + (t->dst * 3600)); in date_format() 1245 (zend_long) t->y, (int) t->m, (int) t->d, in date_format() 1246 (int) t->h, (int) t->i, (int) t->s, in date_format() 1253 php_date_short_day_name(t->y, t->m, t->d), in date_format() 1254 (int) t->d, mon_short_names[t->m - 1], in date_format() 1255 (zend_long) t->y, (int) t->h, (int) t->i, (int) t->s, in date_format() 1348 offset->offset = (t->z + (t->dst * 3600)); in php_idate() 1354 offset->offset = (t->z + (t->dst * 3600)); in php_idate() 1367 timelib_isoweek_from_date(t->y, t->m, t->d, &isoweek, &isoyear); in php_idate() 1373 case 'w': retval = (int) timelib_day_of_week(t->y, t->m, t->d); break; in php_idate() [all …]
|
/PHP-7.4/ext/date/tests/ |
H A D | 004.phpt | 13 var_dump(date("w", $t)); 14 var_dump(date("z", $t)); 15 var_dump(date("n", $t)); 16 var_dump(date("t", $t)); 17 var_dump(date("L", $t)); 18 var_dump(date("a", $t)); 19 var_dump(date("B", $t)); 20 var_dump(date("g", $t)); 21 var_dump(date("G", $t)); 22 var_dump(date("Z", $t)); [all …]
|
H A D | 005.phpt | 7 $t = mktime(0,0,0, 6, 27, 2006); 16 var_dump(idate("B", $t)); 17 var_dump(idate("[", $t));
|
H A D | 007.phpt | 7 $t = mktime(0,0,0, 6, 27, 2006); 11 var_dump(localtime($t)); 12 var_dump(localtime($t, true)); 13 var_dump(localtime($t, false));
|
H A D | 008.phpt | 7 $t = mktime(0,0,0, 6, 27, 2006); 10 var_dump(getdate($t));
|
H A D | 009.phpt | 11 $t = mktime(0,0,0, 6, 27, 2006); 16 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $… 17 var_dump(strftime("%%q %%a", $t)); 18 var_dump(strftime("%q", $t)); 19 var_dump(strftime("blah", $t)); 24 …c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V %W %w %x %X %y %Y %Z %z %%", $… 25 var_dump(gmstrftime("%%q %%a", $t)); 26 var_dump(gmstrftime("%q", $t)); 27 var_dump(gmstrftime("blah", $t));
|
H A D | 009_win32.phpt | 6 if (false === setlocale(LC_TIME, "en-us")) die("skip, couldn't set the locale to en-us"); 15 $t = mktime(0,0,0, 6, 27, 2006); 21 var_dump(strftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t)); 23 var_dump(strftime("%%q %%a", $t)); 25 var_dump(strftime("blah", $t)); 31 var_dump(gmstrftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t)); 33 var_dump(gmstrftime("%%q %%a", $t)); 35 var_dump(gmstrftime("blah", $t));
|
H A D | DateInterval_format.phpt | 5 Don't want an XFAIL here to cause confusion if a real bug comes up. 10 <?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
|
H A D | DateInterval_format_a.phpt | 10 if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
|
H A D | DateTime_format_basic1.phpt | 22 var_dump( $date->format( '\i\t \i\s \t\h\e jS \d\a\y.') ); 24 var_dump( $date->format( 'H:m:s \m \i\s\ \m\o\n\t\h') );
|