Fwd: [PHP-DEV] is_callable and function_exists with disable_functions
| From: | Kalle Sommer Nielsen | Date: | Thu, 26 Mar 2015 19:06:39 +0000 |
| Subject: | Fwd: [PHP-DEV] is_callable and function_exists with disable_functions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85477@lists.php.net to get a copy of this message | ||
Forgot to CC list
---------- Forwarded message ----------
From: Kalle Sommer Nielsen <kalle@php.net>
Date: 2015-03-26 20:06 GMT+01:00
Subject: Re: [PHP-DEV] is_callable and function_exists with disable_functions
To: Remi Collet <remi@fedoraproject.org>
2015-03-26 16:32 GMT+01:00 Remi Collet <remi@fedoraproject.org>:
>> do you mind if I change the current behavior of is_callable , to
>> return false on this case?
>
> Make sense
>
>> or, at least, change function_exists's behavior instead?
>
> Seems a bad idea.
I agree with both points here, I think is_callable() should mimic
function_exists() behavior, is this the same case for disable_classes?
--
regards,
Kalle Sommer Nielsen
kalle@php.net
--
regards,
Kalle Sommer Nielsen
kalle@php.net