get_extension_funcs 


php apg

Get the names of functions available in a given library.

This function is general purpose, therefore, applicable to all extensions, (libraries), of PHP, now applied to  calendar  library.



<?php

arr get_extension_funcs 
(str $module_name);


where,

$module_name Module name to get the extension functions

?>

  $module_name   


The module name to get the extension functions, in this case calendar.



  1 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
0jdtogregorian
1gregoriantojd
2jdtojulian
3juliantojd
4jdtojewish
5jewishtojd
6jdtofrench
7frenchtojd
8jddayofweek
9jdmonthname
10easter_date
11easter_days
12unixtojd
13jdtounix
14cal_to_jd
15cal_from_jd
16cal_days_in_month
17cal_info
ed48

CALENDAR FUNCTIONS
PHP 8.0.XX
INDEXNAME
0cal_days_in_month
1cal_from_jd
2cal_info
3cal_to_jd
4easter_date
5easter_days
6frenchtojd
7gregoriantojd
8jddayofweek
9jdmonthname
10jdtofrench
11jdtogregorian
12jdtojewish
13jdtojulian
14jdtounix
15jewishtojd
16juliantojd
17unixtojd
ed48