(PHP 7 >= 7.2.17/7.3.4)
DatePeriod::getRecurrences — Gets the number of recurrences
Object oriented style
public DatePeriod::getRecurrences ( ) : int|null
Get the number of recurrences.
This function has no parameters.
Returns the number of recurrences.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/dateperiod.getrecurrences.php