#19506 [Opn]: some functions are not visble from "get_extension_funcs"

From: Date: Fri, 20 Sep 2002 02:25:24 +0000
Subject: #19506 [Opn]: some functions are not visble from "get_extension_funcs"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19824@lists.php.net to get a copy of this message
ID: 19506 Updated by: sniper@php.net Reported By: gilles_gros@yahoo.com Status: Open -Bug Type: PHP options/info functions +Bug Type: Scripting Engine problem Operating System: Linux 2.4.19 PHP Version: 4.2.3 New Comment: Those functions are not defined in any extension but in the Zend engine..maybe there should be another function to get all defined functions? :) Previous Comments: ------------------------------------------------------------------------ [2002-09-19 16:24:24] gilles_gros@yahoo.com mispelled my address ------------------------------------------------------------------------ [2002-09-19 16:23:42] gilles_gros@yahoo.com 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 this bug report at http://bugs.php.net/?id=19506&edit=1

« previous php.bugs (#19824) next »