Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125792 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 720A21A00BD for ; Mon, 14 Oct 2024 01:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1728870869; bh=fehXXi+mHnWvkn6iTacDyg/FktZwocXhFXla+j3zeeU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ICp6i9vDQ/q4e1fzVYyuKSjOI2lswpZWvjlphcAC4yiynBb17iug7YnLpvOmmP3Vu yJ5W20DKC8ZNoNxZOaY1+0yBT6s4HF0ujo59ZwKstkEC5qMPmjM8ZTsVSFbSsAAbwi 3iVryM39x2LQRa0oHajCF+i+ZnMxrKSrktzROXT7TeBIyiKzSEKZC6YxFQeVLmdSvP wIYHNYXJRz6wew/zM1bPHfv15BQvpIyWUKzAtIXLaPjU51Tebgkj/J3NgIqH1J+ac0 CuDS4y8lY+JAC7iNv4r1+kGmSNh3kzbt5XLMuhv5f7kGWvQ5SN2gFPb0+HNeOMv2Kq l5mnm9GD8QO0g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 44137180061 for ; Mon, 14 Oct 2024 01:54:29 +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, 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-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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, 14 Oct 2024 01:54:28 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-431286f50e1so16024715e9.0 for ; Sun, 13 Oct 2024 18:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728870728; x=1729475528; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fehXXi+mHnWvkn6iTacDyg/FktZwocXhFXla+j3zeeU=; b=XMIoHH4Aea/MKWVJ/dFFizpaR3AXXGhBz0Ry9i+C6NrRCtfiCc1zQTL/GzeUMRnOis X+liqJ3hhZHvqKMsLC7Ezgth6fpZFD2meo7S6sNPzQ6BjXUd5k6mj+V1T1UI4aUvD3Qx TrWf6/QPJhQbzYZNKa0IHvUC+J6otdNOzdvLlwAFGymivIrv4aC60Z6qRHE+i2N7BeI+ AwfxLnKR4MKycEoifeKD+mBwoYxZo98rzORC+try9a2tfQj6Vh5z6phWg5rGm/FL75pf 2gahF/lWokjW7aGo1q22dpTt/4kfEh/7fXT9nkLObcMdAs2lDB4UVLSMM9cZNrJYVl0L GvJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728870728; x=1729475528; h=content-transfer-encoding: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=fehXXi+mHnWvkn6iTacDyg/FktZwocXhFXla+j3zeeU=; b=oG4XPl3LwJwQaOSqS5ZhFizOOiHmo572PXp3x3xFAq030NY6yTxTZv4s0iySqiprZw y7PE8B/UlUophmSi0BIQHB567CeP+/S1BBFJGSdI16N3ga5mspnXrd6qhURc8SwhkRPT zLQIFAy6nyH2KOgCqcCZP//5YhSjJl8o04oD15zevWUVbXiNk5mWpZvl1nKrEXcSpyGk cpqvo/rm8JqDNAh0gDWmJ3aNtchVNz6/31H67/MatBubt5mmx6CswnfYCZFdP8dhuSrn WjS7od9XUGM3ZCcTa4JWIGD+FGFWufTm2wt4JdHei3rmUkCoqn0KYZ2ln3CWOb4uRtD+ KTRg== X-Gm-Message-State: AOJu0YwHBNFpj2VgthTASvuoB9ZXC7BWLy7Le9Khu1MC9LuM+Bj6TZAE VdHEUuebbexXwaNmyd2+bgWB0dE0NJDYSNTPBGVJaj5rhAfYI9pugegVEL89OR66gifK94VxJuT /khgTGNv3s/AUiRii7Jaa+IIxJRhd+sQi4Q== X-Google-Smtp-Source: AGHT+IE6uqgleaNTlphqrsX1nA8Ax0E06e75fSYMgJMZbY+oV8udk3XpBu1Th7DDx+/d++YcpLv6Wl0LpT4LcFT5ok8= X-Received: by 2002:a05:600c:3555:b0:42f:75e0:780e with SMTP id 5b1f17b1804b1-431255dac0dmr73827235e9.10.1728870727592; Sun, 13 Oct 2024 18:52:07 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <2A7CF24F-3AE3-4125-965F-C65431C42DFB@gmail.com> <30a41608-a1ea-40a9-8d2a-c53c508cd89f@jnvsor.net> <3648840e-5c73-49c9-bc89-105ed761e5c2@scriptfusion.com> In-Reply-To: <3648840e-5c73-49c9-bc89-105ed761e5c2@scriptfusion.com> Date: Mon, 14 Oct 2024 04:51:56 +0300 Message-ID: Subject: Re: [PHP-DEV] Asymmetric visibility is a BC break To: Bilge Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: udaltsov.valentin@gmail.com (Valentin Udaltsov) On Mon, 14/10/2024=E2=80=AF04:07, Bilge wrote: > > On 14/10/2024 01:02, Valentin Udaltsov wrote: > > The problem is that in practice most of the PHP libraries consider > > themselves to be compatible with newer PHP versions. > > > > For instance, Symfony PropertyInfo uses `"php": ">=3D8.2"` constraint i= n > > its `composer.json`. > > That seems like a problem they have created for themselves. It seems an > error to me to declare software forward-compatible with PHP versions > that do not yet exist and thus have clearly not been tested against. > Being as it is an error, we shouldn't consider it impinges on PHP's > definition of a BC break. > > Cheers, > Bilge Hi, Bilge! I think that PHP should then clearly explain what is a BC break and what isn't on a separate php.net page. And even explain what php version constraints are safe for Composer librari= es. Some languages have such a document: - https://go.dev/doc/go1compat - https://peps.python.org/pep-0387/ --=20 Valentin