ID: 19506
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
-Bug Type: Scripting Engine problem
+Bug Type: Documentation problem
Operating System: Linux 2.4.19
PHP Version: 4.2.3
New Comment:
This is just documentation issue. (I didn't remember
get_defined_functions() at all)
Previous Comments:
------------------------------------------------------------------------
[2002-09-20 02:56:02] [EMAIL PROTECTED]
There is nothing wrong with get_defined_functions(),
except that functions like:
- extension_loaded
- get_extension_funcs
- get_loaded_extensions
are not returned by the script I submit.
Problem in the function or the definition of the function...
For you to decide.
Gilles
------------------------------------------------------------------------
[2002-09-20 02:53:29] [EMAIL PROTECTED]
What's wrong with get_defined_functions()?
------------------------------------------------------------------------
[2002-09-19 21:25:23] [EMAIL PROTECTED]
Those functions are not defined in any extension but in the Zend
engine..maybe there should be another function to get all defined
functions? :)
------------------------------------------------------------------------
[2002-09-19 16:24:24] [EMAIL PROTECTED]
mispelled my address
------------------------------------------------------------------------
[2002-09-19 16:23:42] [EMAIL PROTECTED]
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
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php