/PHP-8.4/ext/date/tests/ |
H A D | bug78055.phpt | 2 Bug #78055 (DatePeriod's getRecurrences and ->recurrences don't match) 8 $recurrences = 5; 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, $recurrences, DatePeriod::INCLUDE_END_DATE); 17 echo $period->getRecurrences(), " ", $period->recurrences, "\n"; 20 echo $period->getRecurrences(), " ", $period->recurrences, "\n"; 23 echo $period->getRecurrences(), " ", $period->recurrences, "\n";
|
H A D | DatePeriod_set_state_exception.phpt | 9 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 13 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 18 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 22 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 26 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 30 …'interval' => "tomorrow", 'recurrences' => 1, 'include_start_date' => true, 'include_end_date' => … 34 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => -1, 'include_start_… 38 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d… 42 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d…
|
H A D | DatePeriod_properties1.phpt | 13 echo "recurrences: "; 14 var_dump($period->recurrences); 32 recurrences: int(1)
|
H A D | DatePeriod_getter.phpt | 11 $recurrences = 4; 22 $periodWithRecurrences = new DatePeriod($start, $interval, $recurrences); 27 $periodWithRecurrencesWithoutStart = new DatePeriod($start, $interval, $recurrences, DatePeriod::EX…
|
H A D | DateTimePeriod_inherited_serialization.phpt | 12 int $recurrences, 16 parent::__construct($start, $interval, $recurrences, $options);
|
H A D | DatePeriod_properties2.phpt | 11 "recurrences", 41 Error: Cannot modify readonly property DatePeriod::$recurrences 42 Error: Cannot modify readonly property DatePeriod::$recurrences
|
H A D | DatePeriod_serialize-001.phpt | 62 ["recurrences"]=> 72 …:"f";d:0;s:6:"invert";i:0;s:4:"days";b:0;s:11:"from_string";b:0;}s:11:"recurrences";i:5;s:18:"incl… 113 ["recurrences"]=> 160 ["recurrences"]=>
|
H A D | DatePeriod_serialize-004.phpt | 2 Test DatePeriod::__serialize and DatePeriod::__unserialize (start/recurrences) 75 ["recurrences"]=> 95 …:"f";d:0;s:6:"invert";i:0;s:4:"days";b:0;s:11:"from_string";b:0;}s:11:"recurrences";i:7;s:18:"incl… 143 ["recurrences"]=> 197 ["recurrences"]=>
|
H A D | date_period_set_state1.phpt | 12 "recurrences" => 2, 66 ["recurrences"]=>
|
H A D | date_period_unserialize1.phpt | 17 "recurrences" => 2, 71 ["recurrences"]=>
|
H A D | date_period_unserialize3.phpt | 18 "recurrences" => 2, 76 ["recurrences"]=>
|
H A D | DatePeriod_serialize-002.phpt | 77 ["recurrences"]=> 87 …:"f";d:0;s:6:"invert";i:0;s:4:"days";b:0;s:11:"from_string";b:0;}s:11:"recurrences";i:1;s:18:"incl… 135 ["recurrences"]=> 189 ["recurrences"]=>
|
H A D | DatePeriod_serialize-003.phpt | 77 ["recurrences"]=> 87 …:"f";d:0;s:6:"invert";i:0;s:4:"days";b:0;s:11:"from_string";b:0;}s:11:"recurrences";i:0;s:18:"incl… 135 ["recurrences"]=> 189 ["recurrences"]=>
|
H A D | gh10747-4.phpt | 73 ["recurrences"]=> 88 …:"f";d:0;s:6:"invert";i:0;s:4:"days";b:0;s:11:"from_string";b:0;}s:11:"recurrences";i:1;s:18:"incl… 133 ["recurrences"]=>
|
H A D | bug53437_var0.phpt | 75 ["recurrences"]=> 126 ["recurrences"]=>
|
H A D | DatePeriod_by_ref_iterator.phpt | 7 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d…
|
H A D | bug52113.phpt | 129 ["recurrences"]=> 195 ["recurrences"]=>
|
H A D | DatePeriod_set_state.phpt | 59 ["recurrences"]=>
|
H A D | DatePeriod_createFromISO8601String_static_return.phpt | 61 ["recurrences"]=>
|
H A D | bug-gh11416.phpt | 54 'recurrences' => 2, 'include_start_date' => true, 'include_end_date' => true,
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | gh12585.phpt | 18 int $recurrences, 22 parent::__construct($start, $interval, $recurrences, $options);
|
/PHP-8.4/ext/date/lib/ |
H A D | parse_iso_intervals.re | 80 int recurrences; 199 recurrences = "R" number; 208 recurrences 210 DEBUG_OUTPUT("recurrences"); 213 s->recurrences = timelib_get_unsigned_nr(&ptr, 9); 331 timelib_rel_time **period, int *recurrences, 410 in.recurrences = 1; 441 *recurrences = in.recurrences;
|
H A D | parse_iso_intervals.c | 82 int recurrences; member 397 s->recurrences = timelib_get_unsigned_nr(&ptr, 9); in scan() 973 timelib_rel_time **period, int *recurrences, in timelib_strtointerval() argument 1052 in.recurrences = 1; in timelib_strtointerval() 1083 *recurrences = in.recurrences; in timelib_strtointerval()
|
/PHP-8.4/ext/date/ |
H A D | php_date.h | 110 int recurrences; member
|
H A D | php_date.c | 1537 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in initialize_date_period_properties() 2267 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period() 5080 *recurrences = r; in date_period_initialize() 5105 if (dpobj->end == NULL && recurrences == 0) { in date_period_init_iso8601_string() 5127 if (dpobj->end == NULL && (recurrences < 1 || recurrences > max_recurrences)) { in date_period_init_finish() 5141 if (UNEXPECTED(recurrences > max_recurrences)) { in date_period_init_finish() 5148 dpobj->recurrences = (int)recurrences; in date_period_init_finish() 5160 zend_long recurrences = 0, options = 0; in PHP_METHOD() local 5190 zend_long recurrences = 0, options = 0; in PHP_METHOD() local 5746 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in date_period_object_to_hash() [all …]
|