get_extension_funcs 


php apg

GETS 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  standard  library.



<?php

array|false get_extension_funcsstring $extension )

where,

$extension Module name to get the extension functions

?>

  $extension   


In this case: $extension = "standard".



  1 EXERCISE   

<?php

   
// Run this code to see the result

   
echo 'PHP ' PHP_VERSION '<br><br>';

   
$xt_set 'standard';
   
   
$funcs_set get_extension_funcs ($xt_set);
   
   foreach (
$funcs_set as $k => $ext)
   {
   
   
// Lists all functions in the standard library
   // echo $ext . '<br>';
 
           // List only iptc functions
           
if(strstr($ext'iptc'0))
             {
             echo 
$k ' => ' $ext '<br>';
             }        
    }

?>

AVAILABLE "iptc" FUNCTIONS
STUDIED IN THIS TUTORIAL
php 8.2.18
80218
NDXFUNCTION NAMES
374iptcembed
375iptcparse
ed48