Re: Re: Straw poll: Places to allow function calls in constant expressions

From: Date: Mon, 17 Feb 2020 03:00:23 +0000
Subject: Re: Re: Straw poll: Places to allow function calls in constant expressions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-108633@lists.php.net to get a copy of this message
> > 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. Thanks for the feedback. When reading the poll results, I was planning to interpret both "whitelist of function calls" and "no" as a plan for a "no" vote on any RFC I would write that did allow "any function or method call", in the absence of any response otherwise. You definitely have a point that it doesn't include complicated reasons such as "yes on whitelist, less preferably yes on any function/method", or "yes on any function, definitely no on a whitelist". But I felt like adding too many voting polls or options would discourage responding to a request for quick feedback, and that any more detailed feedback such as this or implementation details could be included in this email thread. - Tyson.

« previous php.internals (#108633) next »