note 39019 added to function.get-loaded-extensions
| From: | Jadmadijad at rn2 dot php dot net | Date: | Wed, 14 Jan 2004 19:16:17 +0000 |
| Subject: | note 39019 added to function.get-loaded-extensions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63558@lists.php.net to get a copy of this message | ||
another one!
/*
E A S Y H T T P
===================
| EasyHTTP Network Inc.
| http://www.EasyHTTP.com
| jad[at]easyhttp.com.
===================
*/
<?php
echo "<h1>PHP Loaded Extensions:</h1>";
function extFunctions($ext)
{
$extFuncs = get_extension_funcs($ext);
while(list($fid, $fname) = each($extFuncs))
{
echo " - " . ($fid + 1) . " $fname <br />";
}
}
echo "| <a href='$PHP_SELF'>Extensions Only</a> |
<a href='$PHP_SELF?expand=*'>Expand functions</a> |<br>";
$loaded = get_loaded_extensions();
while(list($id, $name) = each($loaded))
{
echo "<b>" . ($id + 1) . " <a
href='$PHP_SELF?expand=$name'>$name</a></b><br />";
if(isset($expand))
if($expand == $name || $expand == "*")
extFunctions($name);
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.get-loaded-extensions.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39019
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39019&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39019&report=yes
Search -- http://master.php.net/manage/user-notes.php