Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-27 Thread Xinchen Hui
te: >> >> >> >> On Fri, Mar 27, 2015 at 3:06 AM, Kalle Sommer Nielsen >> >> wrote: >> >> > Forgot to CC list >> >> > >> >> > >> >> > -- Forwarded message -- >> >> > From: Kalle S

Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-27 Thread Dmitry Stogov
lle Sommer Nielsen > >> wrote: > >> > Forgot to CC list > >> > > >> > > >> > -- Forwarded message ------ > >> > From: Kalle Sommer Nielsen > >> > Date: 2015-03-26 20:06 GMT+01:00 > >> > Subject: Re: [PHP-D

Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Xinchen Hui
; > -- Forwarded message -- >> > From: Kalle Sommer Nielsen >> > Date: 2015-03-26 20:06 GMT+01:00 >> > Subject: Re: [PHP-DEV] is_callable and function_exists with >> > disable_functions >> > To: Remi Collet >> > >&

Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Yasuo Ohgaki
20:06 GMT+01:00 > > Subject: Re: [PHP-DEV] is_callable and function_exists with > disable_functions > > To: Remi Collet > > > > > > 2015-03-26 16:32 GMT+01:00 Remi Collet : > >>> do you mind if I change the current behavior of is_callable , t

Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Xinchen Hui
Hey: On Fri, Mar 27, 2015 at 3:06 AM, Kalle Sommer Nielsen wrote: > Forgot to CC list > > > -- Forwarded message -- > From: Kalle Sommer Nielsen > Date: 2015-03-26 20:06 GMT+01:00 > Subject: Re: [PHP-DEV] is_callable and function_exists with disable_functi

Fwd: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Kalle Sommer Nielsen
Forgot to CC list -- Forwarded message -- From: Kalle Sommer Nielsen Date: 2015-03-26 20:06 GMT+01:00 Subject: Re: [PHP-DEV] is_callable and function_exists with disable_functions To: Remi Collet 2015-03-26 16:32 GMT+01:00 Remi Collet : >> do you mind if I change the c

[PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Xinchen Hui
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. fun

Re: [PHP-DEV] is_callable and function_exists with disable_functions

2015-03-26 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 26/03/2015 16:21, Xinchen Hui a écrit : > 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"));' b