Re: [RFC] Allow calls to global functions in constant expressions
| From: | Marco Pivetta | Date: | Mon, 10 Feb 2020 08:45:16 +0000 |
| Subject: | Re: [RFC] Allow calls to global functions in constant expressions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108434@lists.php.net to get a copy of this message | ||
On Sun, Feb 9, 2020 at 10:33 PM Mike Schinkel <mike@newclarity.net> wrote:
> 2. Do we really want to add a standard library function 53 characters
> long?
>
> Can we not come up with a more concise name than
> get_defined_functions_allowed_in_constant_expressions(), like maybe
> get_const_expr_funcs() or get_const_expressions()?
>
For once, we would have a function with a self-describing, clear name:
let's not butcher it with abbreviations please :-)
CTRL+SPACE is your friend.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/