Hey Internal:

    there is one confused behavior with disable_functions:

     $ sapi/cli/php -n -d disable_functions=strlen -r
'var_dump(function_exists("strlen"));
var_dump(is_callable("strlen"));'
bool(false)
bool(true)

      as you can see,  strlen is disabled by disable_functions.

      function_exisis tell it is not exists but is_callable said it is
callable..

      do you mind if I change the current behavior of is_callable , to
return false on this case?

      or, at least, change function_exists's behavior instead?

   thanks

-- 
Xinchen Hui
@Laruence
http://www.laruence.com/

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

Reply via email to