note 39019 deleted from function.get-loaded-extensions by nlopess

From: Date: Wed, 14 Jan 2004 19:18:59 +0000
Subject: note 39019 deleted from function.get-loaded-extensions by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63559@lists.php.net to get a copy of this message
Note Submitter: Jad madi jad[at]easyhttp.com ---- 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); } ?>

« previous php.notes (#63559) next »