Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.0/ext/date/tests/
H A Dbug65672.phpt13 var_dump($period->extra);
14 $period->extra = "modified";
15 var_dump($period->extra);
18 $period->extra = [];
19 $period->extra[] = "array";
20 var_dump($period->extra);
23 $period->dynamic1 = "dynamic";
24 var_dump($period->dynamic1);
27 $period->dynamic2 = [];
29 var_dump($period->dynamic2);
[all …]
H A Dbug78055.phpt10 $period = new DatePeriod($start, $interval, $recurrences, DatePeriod::EXCLUDE_START_DATE);
11 echo $period->getRecurrences(), " ", $period->recurrences, "\n";
13 $period = new DatePeriod($start, $interval, $recurrences);
14 echo $period->getRecurrences(), " ", $period->recurrences, "\n";
16 $period = new DatePeriod($start, $interval, $end);
17 echo $period->getRecurrences(), " ", $period->recurrences, "\n";
19 $period = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE);
20 echo $period->getRecurrences(), " ", $period->recurrences, "\n";
H A DDatePeriod_properties1.phpt11 $period = new DatePeriod($start, $interval, $end);
14 var_dump($period->recurrences);
17 var_dump($period->include_start_date);
20 var_dump($period->start == $start);
23 var_dump($period->current);
26 var_dump($period->end == $end);
29 var_dump($period->interval->format("%R%d"));
H A DDatePeriod_getter.phpt10 $period = new DatePeriod($start, $interval, $end);
13 var_dump($period->getStartDate()->format('Y-m-d H:i:s'));
14 var_dump($period->getStartDate()->getTimeZone()->getName());
16 var_dump($period->getEndDate()->format('Y-m-d H:i:s'));
17 var_dump($period->getEndDate()->getTimeZone()->getName());
19 var_dump($period->getDateInterval()->format('%R%y-%m-%d-%h-%i-%s'));
20 var_dump($period->getRecurrences());
H A DDatePeriod_IteratorAggregate.phpt6 $period = new DatePeriod('R2/2012-07-01T00:00:00Z/P7D');
7 foreach ($period as $i => $date) {
12 foreach ($period->getIterator() as $i => $date) {
17 $iter = $period->getIterator();
33 foreach (new IteratorIterator($period) as $i => $date) {
42 $period = new MyDatePeriod1('R2/2012-07-01T00:00:00Z/P7D');
43 foreach ($period as $i => $date) {
55 $period = new MyDatePeriod2('R2/2012-07-01T00:00:00Z/P7D');
56 foreach ($period as $i => $notDate) {
H A Dbug74639.phpt10 $period = new DatePeriod($start, $interval, $end);
11 $clonedPeriod = clone $period;
14 if ($period->getStartDate() != $clonedPeriod->getStartDate()) {
18 if ($period->getEndDate() != $clonedPeriod->getEndDate()) {
H A DDatePeriod_no_advance_on_valid.phpt9 $period = new DatePeriod($start, $interval, $end);
10 $iterator = $period->getIterator();
23 $period = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE);
24 $iterator = $period->getIterator();
H A Dbug71635.phpt6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
8 var_dump($period->getEndDate());
H A DDatePeriod_properties2.phpt8 $period = new DatePeriod(new DateTime, new DateInterval('P1D'), new DateTime);
21 $period->$property = "new";
27 $period->$property[] = "extra";
H A Ddate_interval_bad_format_leak.phpt2 DateInterval with bad format should not leak period
H A Ddate_create-relative.phpt23 // around 1 leap year period in years
H A DDateTime_data-fall-type2-type2.inc16 * + redodt: daylight time in the redo period 2010-11-07 01:12:33 EDT
17 * + redost: standard time in the redo period 2010-11-07 01:14:44 EST
H A DDateTime_data-fall-type2-type3.inc16 * + redodt: daylight time in the redo period 2010-11-07 01:12:33 EDT
17 * + redost: standard time in the redo period 2010-11-07 01:14:44 EST
H A DDateTime_data-fall-type3-type2.inc16 * + redodt: daylight time in the redo period 2010-11-07 01:12:33 EDT
17 * + redost: standard time in the redo period 2010-11-07 01:14:44 EST
H A DDateTime_data-fall-type3-type3.inc16 * + redodt: daylight time in the redo period 2010-11-07 01:12:33 EDT, + TZ
17 * + redost: standard time in the redo period 2010-11-07 01:14:44 EST, + TZ
/PHP-8.0/ext/date/lib/
H A Dparse_iso_intervals.re79 timelib_rel_time *period;
243 period
269 s->period->i = nr;
271 s->period->m = nr;
399 in.period->y = 0;
400 in.period->d = 0;
401 in.period->m = 0;
402 in.period->h = 0;
403 in.period->i = 0;
404 in.period->s = 0;
[all …]
H A Dparse_iso_intervals.c81 timelib_rel_time *period; member
300 s->period->i = nr; in scan()
302 s->period->m = nr; in scan()
1004 in.period->y = 0; in timelib_strtointerval()
1005 in.period->d = 0; in timelib_strtointerval()
1006 in.period->m = 0; in timelib_strtointerval()
1007 in.period->h = 0; in timelib_strtointerval()
1008 in.period->i = 0; in timelib_strtointerval()
1009 in.period->s = 0; in timelib_strtointerval()
1010 in.period->weekday = 0; in timelib_strtointerval()
[all …]
H A Dtimelib.h572 timelib_rel_time **period, int *recurrences,
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug62373.phpt11 $period = $size_of_ce << 5;
12 for ($i = 0; $i < $period * 3; $i++) {
/PHP-8.0/ext/standard/
H A Duser_filters.c285 char *period; in user_filter_factory_create() local
292 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create()
297 period = wildcard + (period - filtername); in user_filter_factory_create()
298 while (period) { in user_filter_factory_create()
299 ZEND_ASSERT(period[0] == '.'); in user_filter_factory_create()
300 period[1] = '*'; in user_filter_factory_create()
301 period[2] = '\0'; in user_filter_factory_create()
303 period = NULL; in user_filter_factory_create()
305 *period = '\0'; in user_filter_factory_create()
306 period = strrchr(wildcard, '.'); in user_filter_factory_create()
/PHP-8.0/main/streams/
H A Dfilter.c226 char *period; in php_stream_filter_create() local
232 } else if ((period = strrchr(filtername, '.'))) { in php_stream_filter_create()
238 period = wildname + (period - filtername); in php_stream_filter_create()
239 while (period && !filter) { in php_stream_filter_create()
240 ZEND_ASSERT(period[0] == '.'); in php_stream_filter_create()
241 period[1] = '*'; in php_stream_filter_create()
242 period[2] = '\0'; in php_stream_filter_create()
247 *period = '\0'; in php_stream_filter_create()
248 period = strrchr(wildname, '.'); in php_stream_filter_create()
/PHP-8.0/Zend/tests/
H A Dnumeric_literal_separator_004.phpt2 Invalid use: underscore left of period
H A Dnumeric_literal_separator_005.phpt2 Invalid use: underscore right of period
/PHP-8.0/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt69 [.] => &period;
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_poll_kill.phpt30 // Sleep 0.1s - the asynchronous query should have been processed after the wait period

Completed in 54 milliseconds

12