Re: Straw poll: Places to allow function calls in constant expressions
| From: | Mark Randall | Date: | Mon, 17 Feb 2020 02:42:34 +0000 |
| Subject: | Re: Straw poll: Places to allow function calls in constant expressions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108632@lists.php.net to get a copy of this message | ||
On 17/02/2020 02:08, tyson andre wrote:
I've created a straw poll at https://wiki.php.net/rfc/calls_in_constant_expressions_poll , to measure interest in allowing calls in different types of constant expressions. I've yet to make my mind up for most circumstances, although I'm leaning towards a general "No".What I can't express on this strawpoll though, is that I would unequivocally vote against "any function or method call" in all circumstances. -- Mark Randall marandall@php.net