get_defined_functions()
http://www.php.net/get_defined_functions

function_exists()
http://www.php.net/function_exists

-- 
Jon Kriek
http://phpfreaks.com

"Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
>
> Wouldn't it be nice having a function which tells you whether you are
> restricted to call a function or not?
>
> I think of something like:
>
> if (function_enabled("shell_exec")) {
>    $info = shell_exec("dig myname.com");
> }
>
> telling if it was defined as disabled function in php.ini
> (disable_functions=...) or not.
>
> --
>  Regards
>  Dennis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to