Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108632 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 90699 invoked from network); 17 Feb 2020 04:27:23 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 17 Feb 2020 04:27:23 -0000 To: internals@lists.php.net References: Date: Mon, 17 Feb 2020 02:42:34 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Posted-By: 94.8.9.87 Subject: Re: Straw poll: Places to allow function calls in constant expressions From: marandall@php.net (Mark Randall) Message-ID: 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