/PHP-8.2/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_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 Cannot modify readonly property DatePeriod::$recurrences 42 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 | bug52113.phpt | 129 ["recurrences"]=> 195 ["recurrences"]=>
|
H A D | DatePeriod_set_state.phpt | 59 ["recurrences"]=>
|
H A D | bug-gh11416.phpt | 54 'recurrences' => 2, 'include_start_date' => true, 'include_end_date' => true,
|
/PHP-8.2/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()
|
H A D | timelib.h | 625 timelib_rel_time **period, int *recurrences,
|
/PHP-8.2/ext/date/ |
H A D | php_date.h | 93 int recurrences; member
|
H A D | php_date.c | 1513 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in initialize_date_period_properties() 1567 return (iterator->current_index < object->recurrences) ? SUCCESS : FAILURE; in date_period_it_has_more() 2229 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period() 4716 *recurrences = r; in date_period_initialize() 4729 zend_long recurrences = 0, options = 0; in PHP_METHOD() local 4763 if (dpobj->end == NULL && recurrences == 0) { in PHP_METHOD() 4811 if (dpobj->end == NULL && recurrences < 1) { in PHP_METHOD() 4823 dpobj->recurrences = recurrences + dpobj->include_start_date + dpobj->include_end_date; in PHP_METHOD() 4909 if (0 == dpobj->recurrences - dpobj->include_start_date - dpobj->include_end_date) { in PHP_METHOD() 5320 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in date_period_object_to_hash() [all …]
|
H A D | php_date.stub.php | 714 public int $recurrences; variable in DatePeriod
|