
<?php
arr get_extension_funcs (str $module_name);
where,
$module_name = Module name to get the extension functions
?>
EXERCISE
<table width="100%" cellspacing="5" cellpadding="5" border="1" align="center">
<tbody><tr><td colspan="2">CALENDAR FUNCTIONS<br><?php echo 'PHP ' . phpversion(); ?></td></tr>
<tr><td>INDEX</td><td>NAME</td></tr>
<?php
$date_set = get_extension_funcs ('calendar');
$cnt_date = count($date_set);
for ($i = 0; $i < $cnt_date; $i++)
{
echo '<tr><td>' . $i . '</td><td>' . $date_set[$i] . '</td></tr>';
}
?>
<tr><td colspan="2">ed48</td></tr></tbody></table>
| CALENDAR FUNCTIONS PHP 7.4.XX | |
| INDEX | NAME |
| 0 | jdtogregorian |
| 1 | gregoriantojd |
| 2 | jdtojulian |
| 3 | juliantojd |
| 4 | jdtojewish |
| 5 | jewishtojd |
| 6 | jdtofrench |
| 7 | frenchtojd |
| 8 | jddayofweek |
| 9 | jdmonthname |
| 10 | easter_date |
| 11 | easter_days |
| 12 | unixtojd |
| 13 | jdtounix |
| 14 | cal_to_jd |
| 15 | cal_from_jd |
| 16 | cal_days_in_month |
| 17 | cal_info |
| ed48 | |
| CALENDAR FUNCTIONS PHP 8.0.XX | |
| INDEX | NAME |
| 0 | cal_days_in_month |
| 1 | cal_from_jd |
| 2 | cal_info |
| 3 | cal_to_jd |
| 4 | easter_date |
| 5 | easter_days |
| 6 | frenchtojd |
| 7 | gregoriantojd |
| 8 | jddayofweek |
| 9 | jdmonthname |
| 10 | jdtofrench |
| 11 | jdtogregorian |
| 12 | jdtojewish |
| 13 | jdtojulian |
| 14 | jdtounix |
| 15 | jewishtojd |
| 16 | juliantojd |
| 17 | unixtojd |
| ed48 | |