note 106724 deleted from function.get-extension-funcs by tularis

From: Date: Fri, 02 Dec 2011 11:33:51 +0000
Subject: note 106724 deleted from function.get-extension-funcs by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184850@lists.php.net to get a copy of this message
Note Submitter: facebook / The.DJ.Cornbread Reason: bad code ---- If you are like me and were just wanting to know the functions available to you... here is a simple script to view them all... <?php $arr = get_loaded_extensions(); $cnt = count($arr); echo "You have a total of ( $cnt ) loaded extentions"; foreach($arr as $value) { echo "<center><hr/><hr/>-- $value -- <hr/></center>"; $aby = get_extension_funcs($value); $i = 0; $if = 0; $row = 3; // colums to be printed echo "<table border='1'><tr>"; foreach($aby as $v) { if($if >= $row){$if = 0; echo "</tr><tr>";} ++$i; ++$if; echo "<td> $i => $v () </td>"; } echo "</tr></table>"; } ?>

« previous php.notes (#184850) next »