cal_info()
function cal_info(int $calendar = -1): array
Returns a calendar’s month names, abbreviations, and day count.
Parameters:
$calendar(int), default-1, optional
Returns: array
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how cal_info is implemented in the compiler, see the internals page.