Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112234 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20577 invoked from network); 12 Nov 2020 07:12:13 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 12 Nov 2020 07:12:13 -0000 To: internals@lists.php.net References: Date: Thu, 12 Nov 2020 06:34:48 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 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: 87.81.129.66 Subject: Re: strict_types will be default at some moment? From: marandall@php.net (Mark Randall) Message-ID: On 11/11/2020 20:20, David Rodrigues wrote: > If yes, what is the reason for requiring it? Why it can't be the default > behavior (or maybe, the unique behavior). There was some discussion around the idea of adding language editions to PHP for 8.0, however the pandemic resulted in to the in-person conference that would have discussed it being cancelled. If that ever goes back into discussion, I think that I and many others would argue that strict_types=1 would be a baseline requirement of the first edition.