/PHP-8.0/ext/date/tests/ |
H A D | bug65672.phpt | 13 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 D | bug78055.phpt | 10 $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 D | DatePeriod_properties1.phpt | 11 $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 D | DatePeriod_getter.phpt | 10 $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 D | DatePeriod_IteratorAggregate.phpt | 6 $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 D | bug74639.phpt | 10 $period = new DatePeriod($start, $interval, $end); 11 $clonedPeriod = clone $period; 14 if ($period->getStartDate() != $clonedPeriod->getStartDate()) { 18 if ($period->getEndDate() != $clonedPeriod->getEndDate()) {
|
H A D | DatePeriod_no_advance_on_valid.phpt | 9 $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 D | bug71635.phpt | 6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2); 8 var_dump($period->getEndDate());
|
H A D | DatePeriod_properties2.phpt | 8 $period = new DatePeriod(new DateTime, new DateInterval('P1D'), new DateTime); 21 $period->$property = "new"; 27 $period->$property[] = "extra";
|
H A D | date_interval_bad_format_leak.phpt | 2 DateInterval with bad format should not leak period
|
H A D | date_create-relative.phpt | 23 // around 1 leap year period in years
|
H A D | DateTime_data-fall-type2-type2.inc | 16 * + 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 D | DateTime_data-fall-type2-type3.inc | 16 * + 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 D | DateTime_data-fall-type3-type2.inc | 16 * + 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 D | DateTime_data-fall-type3-type3.inc | 16 * + 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 D | parse_iso_intervals.re | 79 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 D | parse_iso_intervals.c | 81 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 D | timelib.h | 572 timelib_rel_time **period, int *recurrences,
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug62373.phpt | 11 $period = $size_of_ce << 5; 12 for ($i = 0; $i < $period * 3; $i++) {
|
/PHP-8.0/ext/standard/ |
H A D | user_filters.c | 285 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 D | filter.c | 226 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 D | numeric_literal_separator_004.phpt | 2 Invalid use: underscore left of period
|
H A D | numeric_literal_separator_005.phpt | 2 Invalid use: underscore right of period
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic6.phpt | 69 [.] => .
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_poll_kill.phpt | 30 // Sleep 0.1s - the asynchronous query should have been processed after the wait period
|