Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124769 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 04FBA1A00B7 for ; Mon, 5 Aug 2024 15:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722870102; bh=cwQDTmT0HFfnfYNOKSDCZmvbKZ2eOnVyijden/AuP+s=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=enI0UDI7op4cqJdCYtDUvsyuEIYU1Itfthbn0Hp/UmNL0R4ZbS7FdCVcHCrRL/PGD uz1PEbuRzNLMOHRzwKU+iLnPVffPH8fTvv3XjIEh3W4nZzwxz3jlePRQAUuVGlbcjb NQNmIThO2hgUuT0c210Lx7ZOt5KULBurC+w48Z2ONvHF34xtOcZm2tVjOODwWWgfW8 opzWrSmuIWdbzM/J/Pnfj01uCcIkOC0qqKBIwETf0Pq+5CMc3Ief6dVo7xikG0fILE OHqcmo1Ql4AF6SV0GlJTwor6qQNLMRxsLPEzUwe2jlcsEzFcn/p6GX/yoesLwDOPdb FU4JJ2gIt7TVg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0264818007A for ; Mon, 5 Aug 2024 15:01:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 5 Aug 2024 15:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722869999; bh=cwQDTmT0HFfnfYNOKSDCZmvbKZ2eOnVyijden/AuP+s=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=AiVqb8gsvKXQT8A+TfBzIFIFy+mp1CHmxIT/ocxCjh+8diHSx+/VFAyfNwHzenM92 +n+hcy4UxXRKPlH/M/87Ge8QAoDgRqdKO4xKsjJDg4rY33pdlRVnOIS0+2gtJjPzOB JtneZm/nN4jCvpbn10+FV4+g7kD0n8qK6o+jj5zA4oZ6znoxaD5LaokJ4ZlBRg2lhr It1i2piQDMeqsB4hmhQM/X09oy3vOIvESC3brK4/xqRqmcOeRUGp8Fcxf+iK8Uu2IL eV0l9cnXXXxOSIiMJnFuNVSsBNWVu1APJX49hNNQDwk+0ETDI/dcq4kLFc00dNTN/h lbxQBJtjPLUyA== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id F020210C03C; Mon, 05 Aug 2024 15:59:58 +0100 (BST) Date: Mon, 5 Aug 2024 15:59:58 +0100 (BST) To: "Christoph M. Becker" cc: Ilija Tovilo , PHP internals Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 In-Reply-To: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> Message-ID: References: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII From: derick@php.net (Derick Rethans) On Mon, 5 Aug 2024, Christoph M. Becker wrote: > On 05.08.2024 at 12:49, Derick Rethans wrote: > > > On Thu, 1 Aug 2024, Ilija Tovilo wrote: > > > >> Hence, it seems like it would be ok to bump our C compiler > >> requirement to C11. We'd like to make this change before beta 1 if > >> there are no objections. > > > > How would you enforce that, through configure? > > In my opinion, there is no *need* to enforce this requirement. Just > having documentation should be sufficient. Users with an old > compilerr will notice issues (i.e. build failures), and even if they > don't care to look up the docs, they will file a ticket, and that can > quickly be closed pointing to the relevant documentation. Instead of having to deal with tickets, wouldn't be be easier if the compiler they used works with the features that we are using? That could instantly provide a link to the documentation saving all of us time. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support mastodon: @derickr@phpc.social @xdebug@phpc.social