note 116216 added to function.cal-info
| From: | ricvento at gmail dot com | Date: | Sun, 23 Nov 2014 17:59:46 +0000 |
| Subject: | note 116216 added to function.cal-info | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201010@lists.php.net to get a copy of this message | ||
A simple way for print_r to show the calendar information well fine suit...
<?php
print("<pre>".print_r(cal_info(2),true)."</pre>");
?>
This will outputs...
Array
(
[months] => Array
(
[1] => Tishri
[2] => Heshvan
[3] => Kislev
[4] => Tevet
[5] => Shevat
[6] => AdarI
[7] => AdarII
[8] => Nisan
[9] => Iyyar
[10] => Sivan
[11] => Tammuz
[12] => Av
[13] => Elul
)
[abbrevmonths] => Array
(
[1] => Tishri
[2] => Heshvan
[3] => Kislev
[4] => Tevet
[5] => Shevat
[6] => AdarI
[7] => AdarII
[8] => Nisan
[9] => Iyyar
[10] => Sivan
[11] => Tammuz
[12] => Av
[13] => Elul
)
[maxdaysinmonth] => 30
[calname] => Jewish
[calsymbol] => CAL_JEWISH
)
----
Server IP: 72.52.91.14
Probable Submitter: 190.94.249.119
----
Manual Page -- http://php.net/manual/en/function.cal-info.php
Edit -- https://master.php.net/note/edit/116216
Del: integrated -- https://master.php.net/note/delete/116216/integrated
Del: useless -- https://master.php.net/note/delete/116216/useless
Del: bad code -- https://master.php.net/note/delete/116216/bad+code
Del: spam -- https://master.php.net/note/delete/116216/spam
Del: non-english -- https://master.php.net/note/delete/116216/non-english
Del: in docs -- https://master.php.net/note/delete/116216/in+docs
Del: other reasons-- https://master.php.net/note/delete/116216
Reject -- https://master.php.net/note/reject/116216
Search -- https://master.php.net/manage/user-notes.php