Home
last modified time | relevance | path

Searched refs:recurrences (Results 1 – 25 of 27) sorted by relevance

12

/PHP-8.4/ext/date/tests/
H A Dbug78055.phpt2 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 DDatePeriod_set_state_exception.phpt9 …'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 DDatePeriod_properties1.phpt13 echo "recurrences: ";
14 var_dump($period->recurrences);
32 recurrences: int(1)
H A DDatePeriod_getter.phpt11 $recurrences = 4;
22 $periodWithRecurrences = new DatePeriod($start, $interval, $recurrences);
27 $periodWithRecurrencesWithoutStart = new DatePeriod($start, $interval, $recurrences, DatePeriod::EX…
H A DDateTimePeriod_inherited_serialization.phpt12 int $recurrences,
16 parent::__construct($start, $interval, $recurrences, $options);
H A DDatePeriod_properties2.phpt11 "recurrences",
41 Error: Cannot modify readonly property DatePeriod::$recurrences
42 Error: Cannot modify readonly property DatePeriod::$recurrences
H A DDatePeriod_serialize-001.phpt62 ["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 DDatePeriod_serialize-004.phpt2 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 Ddate_period_set_state1.phpt12 "recurrences" => 2,
66 ["recurrences"]=>
H A Ddate_period_unserialize1.phpt17 "recurrences" => 2,
71 ["recurrences"]=>
H A Ddate_period_unserialize3.phpt18 "recurrences" => 2,
76 ["recurrences"]=>
H A DDatePeriod_serialize-002.phpt77 ["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 DDatePeriod_serialize-003.phpt77 ["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 Dgh10747-4.phpt73 ["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 Dbug53437_var0.phpt75 ["recurrences"]=>
126 ["recurrences"]=>
H A DDatePeriod_by_ref_iterator.phpt7 …'interval' => DateInterval::createFromDateString("tomorrow"), 'recurrences' => 1, 'include_start_d…
H A Dbug52113.phpt129 ["recurrences"]=>
195 ["recurrences"]=>
H A DDatePeriod_set_state.phpt59 ["recurrences"]=>
H A DDatePeriod_createFromISO8601String_static_return.phpt61 ["recurrences"]=>
H A Dbug-gh11416.phpt54 'recurrences' => 2, 'include_start_date' => true, 'include_end_date' => true,
/PHP-8.4/ext/opcache/tests/jit/
H A Dgh12585.phpt18 int $recurrences,
22 parent::__construct($start, $interval, $recurrences, $options);
/PHP-8.4/ext/date/lib/
H A Dparse_iso_intervals.re80 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 Dparse_iso_intervals.c82 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 Dphp_date.h110 int recurrences; member
H A Dphp_date.c1537 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 …]

Completed in 39 milliseconds

12