Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125789 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 133761A00BD for ; Mon, 14 Oct 2024 00:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1728864324; bh=8vpbV6rBl6w8fd5jSjn3N646RWhh2tJkv2ihPcbilCg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P04+CYKurHYE8sr/pT/G2AD9Cf7GHkZ1GZOvnAJQRiVL/j/e7Z+WE8qb8bJSgahwd dOKQFheActlaxswyDlSpXMCYhj9XdDlminWSXNj/dIECibjOsx15aRIXipeVb3mJbE Kop3ommUDazKGwBDoIaPyuQ9RW3vTH0w8kNNtuaUqD+wlYZmdZz6G5J3kdotSTqp+B OF/GeuNdv+0JxyMQh6FhvWMboYZESsPVyRdXi36SPIyL0SSljEGS1UWyysSHi+hI42 vdXXSL64KHuw+qIur4oeLjaazyawlH73eSu6NItCuB1Hue60K8wpZsxQo1lGN637Dc URPO5W+lbHqIg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 110E1180511 for ; Mon, 14 Oct 2024 00:05:24 +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-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 00:05:23 +0000 (UTC) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43118c9a955so29914645e9.3 for ; Sun, 13 Oct 2024 17:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728864183; x=1729468983; 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=8vpbV6rBl6w8fd5jSjn3N646RWhh2tJkv2ihPcbilCg=; b=XYn7dLCeid68XH22btpLcPxJrl0XtiO0r74qHdOtWu05fLs32+j8twfWoZjayJmPTO h7xWWBmXyvD0UY3Py0TTUfHFDaXWWGmFZ4Hiid0Cnezdn6nl2HZuGjV41y1X7v6kVZmR JCa7TNjr2nlv5E0WRgx28F7gQXb5jw96lKXsjqSe921L9WaiN1NSUpVapxDcJpjK7iPM JlyLv7nMXyR6HMBIUwReNzbwmTs8kC010T5luVW6kNNQFnR1xy//q2HvNH0p+oc+V5wz ApLN3VlNMwBthELPPP0oKOiYaa8FQPJ4mDnevC8niximatF78+6jVBitcksnAf56GQw8 +hzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728864183; x=1729468983; 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=8vpbV6rBl6w8fd5jSjn3N646RWhh2tJkv2ihPcbilCg=; b=UJNrRWPVTpOlgZG+eM9/wNzApfxzUj0AQ2m5EoDXt0HIJfGtzOK3artfzxf3pvmyWi k1NH+ZEySlHB5sbEnmVPqK/bgSskInKP5kqKf8a6ViJ6dO6wt+hOW8JmRoXJqv89agaz 0nYn/NaufQScmOzQK5MuzNgPON+5ZtiTXQQRk2Uecn9QcHH5KXT88M5pRGE0diuvGXh0 gyLHd+T7wm8mtrwsPTBAtzw5xvsoUHR/8svZuAVWq+B2v72I2ChXPhLmu2kI5PyJgBgB 0qKA3xlVC/qXiDs76Y75/AX0p6FGskvpFpiHo0cDV/oPSDzPIdr8CP467pD5mWHgIY06 0oGw== X-Forwarded-Encrypted: i=1; AJvYcCVq61wR2c/MvxhqoNdK0JzRLwNEJ3mIP3dCD0z/PnUubXl81pplthhgo0EXEoMz8RR1UGFcqPNRrOg=@lists.php.net X-Gm-Message-State: AOJu0YzVpQTAnvqciB/p4ZLlQMeze3elJc9YRFyCExtgH09n6VPDk0hW zJSkKnOT/NCAQcaA9tZg4/CK7Hpaw7AN4XKGGGTwbOu2GZWKEucPrcA2wZwAElxTASVDVYEnj5v 09ajrhwh/ANfyouisMMFaVkw2MQ== X-Google-Smtp-Source: AGHT+IGVSItLDzGrCV44oNKZBfskt2noFmxLs/+AdwDMTfRMNBq+erKV31F163wsyJimXt6KXpJafcZBwaWS/v1sIX8= X-Received: by 2002:a05:600c:470e:b0:42c:b037:5f9d with SMTP id 5b1f17b1804b1-4311dea462cmr84620695e9.3.1728864182529; Sun, 13 Oct 2024 17:03:02 -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> In-Reply-To: Date: Mon, 14 Oct 2024 03:02:51 +0300 Message-ID: Subject: Re: [PHP-DEV] Asymmetric visibility is a BC break To: Jordan LeDoux Cc: Rob Landers , 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 Oct 2024=E2=80=AFat 01:28, Jordan LeDoux : > Backwards compatible has never, in any work I've done through my entire c= areer, meant something like "if you take old code and then update it to the= new version incorrectly, it doesn't work"... that seems... obvious? > > What exactly is the claim being made here? Because it sounds like the cla= im is very much that second "definition". > > Jordan Hi, Jordan! 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 in its `composer.json`. However, it is not compatible with PHP 8.4, I've just created an issue: https://github.com/symfony/symfony/issues/58556 The end user will be the victim, because `composer require symfony/property-info` will happily install property-info v7.1.4 for PHP 8.4, but it's not gonna work. -- Valentin