On Wed, 1 Oct 2003, Dennis Sterzenbach wrote:

> >
> > You can either use function_exists() to check if a function is
> > available, or use "ini_get('disabled_functions')".
> >
> > Derick
> >
> function_exists() NEVER informs about the function  being
> disabled or not it does inform about (I cite the manual here:)
> "if the given function has been defined".
> 
> So it does NOT tell me anything about state.

Of course... why do you NEED to know if it's not available or 
disabled... the result is the same: you can not use the function.

> If you had read my post, you knew I already do like you telling
> me, but do not agree with this solution, as it is better
> in performance etc. (see my post) to let PHP do so.

I did read it, I just don't see any point why it is useful.

Derick

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/
-------------------------------------------------------------------------

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to