- get_extension_funcs: documentation ( source)
- get_defined_functions: documentation ( source)
- get_loaded_extensions: documentation ( source)
<?php
$exts = get_loaded_extensions();
$total = 0;
foreach ($exts as $ext) {
$f = get_extension_funcs($ext);
$total += count($f);
}
$a = get_defined_functions();
$n = count($a['internal']);
$total += $n;
echo $n, " / ", $total, " (", count($exts), ")";