From: [EMAIL PROTECTED] Operating system: Linux 2.4.19 PHP version: 4.2.3 PHP Bug Type: PHP options/info functions Bug description: some functions are not visble from "get_extension_funcs"
using php 4.2.3 with out any problem. Using a script to generate a help directory. <? function usort_cmp($a, $b) { return (strtolower($a) == strtolower($b)) ? 0 : (strtolower($a) > strtolower($b)) ? 1 : -1; } echo "<UL>\n"; $le = get_loaded_extensions(); usort($le, "usort_cmp"); foreach($le as $module) { print "<LI>$module\n"; print "<UL>\n"; $f = get_extension_funcs($module); usort($f, "usort_cmp"); foreach($f as $func) { print "<LI><a href='http://www.php.net/manual/en/function." . str_replace("_", "-", $func) . ".php'>$func</a>\n"; } print "</UL>\n"; } echo "</UL>\n"; ?> I noticed that some functions are missing from the list. at least: - extension_loaded - get_extension_funcs - get_loaded_extensions may be more, I have not cheched. Gilles ============================ config.nice #! /bin/sh # # Created by configure CFLAGS='-L/home/gillesg/PRODUCT/Apache/libraries/mcrypt/lib' \ './configure' \ '--prefix=/home/gillesg/PRODUCT/Apache' \ '--with-config-file-path=/home/gillesg/PRODUCT/Apache/conf' \ '--with-apache=/home/gillesg/Compil/devcompile/apache_1.3.26' \ '--enable-static' \ '--enable-track-vars' \ '--enable-magic-quotes' \ '--enable-trans-sid' \ '--enable-safe-mode' \ '--enable-sigchild' \ '--enable-session' \ '--with-mm=/home/gillesg/PRODUCT/Apache/libraries/mm' \ '--without-mysql' \ '--with-mcrypt=/home/gillesg/PRODUCT/Apache/libraries/mcrypt' \ "$@" -- Edit bug report at http://bugs.php.net/?id=19506&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19506&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19506&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19506&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19506&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19506&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19506&r=support Expected behavior: http://bugs.php.net/fix.php?id=19506&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19506&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19506&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19506&r=globals