Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124772 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 B68BF1ADC1E for ; Mon, 5 Aug 2024 15:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722872688; bh=b943Z6g+qWWvH0WqL17AhIWYW0srF6i30LA3PJtwrrQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jCfbVZ2tdl8a+1aSyGgTS1rtg2cc/T+UI5QQ7LnQtNNjlWoOomcB+w1XTyz/8YXSE ASnlinJPvNvlwaesieG/2UDeQSPV0Zjb1UcB3UboTb2VKbptY+p17Se96CcUA49eDw /ePV87Ebc8m+AdLDbW0yJAKWq+d9Qkxv3QYeFmBEzTR6oLrtg8bliiXfdPMEC4W83P FjGprn4+JpEQhJau/Mnnb0uhHXCwnhemA5rDddwgN/Mc9y1Wb9SijaVNCNLOCazFMr d/GMKOPkA40CL3meGhHxHLvR9NnSSIPS6kxRabz//ay5MJYrfsBLbXmGjSaSmMjDpu J5bF77iCrHtbw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A4A2B180392 for ; Mon, 5 Aug 2024 15:44:46 +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=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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:44:44 +0000 (UTC) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7b396521ff6so5029006a12.1 for ; Mon, 05 Aug 2024 08:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722872583; x=1723477383; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=82sCwRUwvoWyuLrxDMfy2fcizLcmzo87NuuFKfaCGnU=; b=i92hCvb/fi1DutUOH6cx32zxVy9o6jz4D+i9xYLVmtwskZX5cbY5n32CS2UGo8RoW8 lSa6Cks0Vb7uQVFHPeOAmXdl6jBz1wZyTZIVOH0KYbTdHtunGzJFk1O20CzR+Tm15qp1 bD2F7XQTJ/c25URNKBTOQvxH0i5rzi8Rsh2ijhhQjgbV013JHO28mk0tE0YwgbuLMlI0 2s1obQXcO7z36W5B6HCAJfW9EZGDr0yNp9KTHgvVuyFvrtMB6+IxoHytZ2DXd3/TVYW3 Mdj5gDpNLL3+x7FOAv9d3QS7s1nkCduWKuWgtg9/izqpcip0lpBdFCH4Yph6od2evge0 XPpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722872583; x=1723477383; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=82sCwRUwvoWyuLrxDMfy2fcizLcmzo87NuuFKfaCGnU=; b=YLWFhJNl4JhG7R8KGD/JCGu5ZZxBM4gl1bQ2bNh4/IpXOD6nPr4dgM51D8NqxYYmjm o8D6VjurkP0+3TI7Gq+vnz2OD5LpeTbnZRIpZv9CJCCdLi2ZK5EvGxlKigvCZ2xKP2O6 +KG+ytASEKdbrXYeTxdskf60TGsDNUUTjS6d4a4E0qKRa7BVxMBrpsGmOS9lDIvSgzOR v7B0Xeu67CupXOJ+5+vfEP+y7ncZn3oB6wgPNugr5zm5tr4qIY4NNPEYoFs7IWCb5TNX JSCbOoRRCPG7ozN1pjckvbBMkNSQdmXZlMzWXan8vdpiNuesvp4Q2uveSVb3Qeg83MyU sl5A== X-Forwarded-Encrypted: i=1; AJvYcCUqqGEfolVGFJ837vOfK0vQtwKgrT7iXXLJT9O8oZc01ppazz5DfCVobFPb04Z1hE7uKT2zo3RpXtq20gtyI5XWFv5pS3jX8w== X-Gm-Message-State: AOJu0YzBg0QBWggqPX9IAPF+bcq6X1ADXoB8Bqr74Gid+5HHV0KAYviT JhA9D5eiMi26zy2vic3wx5ZARyt+r29MUTjYtE2edLvQzUiGswWZB56PcmojyFNHWmRVtMg9RMY xSuwkZ8m+UyoOsB2EoNKY6reIeyI= X-Google-Smtp-Source: AGHT+IGqR1HKXx+z/quJDd7ND9EYp0BOsA/fiJmPKV8rP++Mdpr/qzB1KfB2M8o/mPfVcpM2szgoSb3qJK3ySuE9Rj8= X-Received: by 2002:a05:6a20:6a04:b0:1bd:24f9:1124 with SMTP id adf61e73a8af0-1c6995ccd0emr18131159637.27.1722872582701; Mon, 05 Aug 2024 08:43:02 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <6cde6bb4-30cc-4838-a003-6333acbd6a3c@gmx.de> In-Reply-To: Date: Mon, 5 Aug 2024 22:42:50 +0700 Message-ID: Subject: Re: [PHP-DEV] Require C11 in PHP 8.4 To: Derick Rethans Cc: "Christoph M. Becker" , Ilija Tovilo , PHP internals Content-Type: multipart/alternative; boundary="000000000000490965061ef1886e" From: pierre.php@gmail.com (Pierre Joye) --000000000000490965061ef1886e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Aug 5, 2024, 10:03=E2=80=AFPM Derick Rethans wrote= : > 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. > it is significantly easier at configure time. Gcc 4.9 is (almost) fully c11 compliant (not 4.7). As of windows, it will be dependent on the vc version used by the php minor branch where it may be introduced. That being said, I am not sure if the reason mentioned for using c11 in the initial post is used in external extensions (included headers etc), but at least on linux (or similar), an ext can be compiled with any version. On windows, we can't, mainly for memory management issues (alloc/realloc or freed using different crt). It is possible but too many extensions, also in core, cause issues. best, Pierre > --000000000000490965061ef1886e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Aug 5, 2024, 10:03=E2=80=AFPM Derick Rethans &= lt;derick@php.net> wrote:
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.


it is significantly easier at configure time. Gcc 4.9 = is (almost) fully c11 compliant (not 4.7).

As of windows, it will be dependent on the vc version us= ed by the php minor branch where it may be introduced.=C2=A0

That being=C2=A0said, I am not sure i= f the reason mentioned for using c11 in the initial post is used in externa= l extensions (included headers etc), but at least on linux (or similar), an= ext can be compiled with any version.

On windows, we can't, mainly for memory=C2=A0 management= issues (alloc/realloc or freed using different crt). It is possible but to= o many extensions, also in core, cause issues.

<= /div>
best,
Pierre
--000000000000490965061ef1886e--