Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125799 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 094F01A00BD for ; Mon, 14 Oct 2024 10:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1728901179; bh=aN4X6g8jCiCqzPsRi7j2EQ/zgNnpnfW2HIoXJ7DX5CI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=C6t492vknQghsrckmtup9cUdRHCvhaObWhtOdeXgMyqJwnl9oBlaUWTEyS8uWyxsb rxi5Q2+6ZwLF/yaH0CjO+dvff0B8ebKpaSCiN89379Fys9e4cV/kQcvBJYsES89ML+ tO7O9ct+5t00lkNpWSRthQKIlFnC1mwBR+xttQNppyoCytxSQbxNzbSSJHPazOnKqT ivZ6z2hNAQHR4ITT33MHUjTvAvHrwkisZVilQImXg1usMzTwq4Md8tPwPfOALWICbK CTxk4S9V1DbU7jLabA4fy0V9CUpJNZhA94EWhQn2yFy9wWcfEy1qdlKjC5oMKuWY3L gNAhx/7Fs3Gbg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 98BE618004F for ; Mon, 14 Oct 2024 10:19:38 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) (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 10:19:38 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id A12EB11401D6; Mon, 14 Oct 2024 06:17:17 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 14 Oct 2024 06:17:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allenjb.me.uk; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1728901037; x= 1728987437; bh=E9IaNuS4iBeZwE0SH6VDbH456AGdWtv5N6r6hXsfATY=; b=g nIiQpzNCl2+U0qN+4OTlpePvun/rOxDQksQoUIkkqeGxilAq44mVjrGQ9CokYqfn t7WIBxa0eyF7OmN7eQxI4DqKz1SESTOVQJPARP2oX+e3TxfmE0fhiN8HPi1GG68q W5J7putcQDjbJJTBfvv2GSX8ZeFxVKHs/q6+YTsQvCEelD+zHGN4xGjN4Ud8RdFw 9Pm1VT9S6nnaX2hhigXckal86jwyLyh1SVa6AJUwUiZ0GTM0TXn4vl4F/jmbUktC qlt6QBhUgbhbZzVpIcWgziAacs4g5wO/unKtd9W5CL/pI5jnts3VwQMarSm6yAQd +zno6xLojpjMBQxSO6y6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728901037; x=1728987437; bh=E9IaNuS4iBeZwE0SH6VDbH456AGd Wtv5N6r6hXsfATY=; b=SB/BDBc5J31av/aL8kce5q3YcSwFr5trzqoHHphGTlrf VVxBuAv719GFS9U3B+ujjPVCNDKNFIsIVPx9uR88YVv3iZYilm8kvYmmdjHCMx1r ofpv+UNRKMVrGCyI7DtoeDI8osHpHz57RVNPzHvuscpJc9KQDWF3aoqnKPlV8hNJ QzO0rhlc8n9F1JuH49De68kkx3KDDTSChFhJDUWCATRfH9YoATye7ozmS4xdpA/d Riyn22IT+4oUclHQg4q7CHjd0jVbaSmdiTCV2Kxz9V1qm9drHtUq93LkiIRi3lnF pL+PLxaCpnDu9OWLY+waU5a7sJ9nMec0mBjtDrV2Tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeghedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurheptgfkffggfgfuvfevfhfhjgesrgdtreertddvjeen ucfhrhhomheptehllhgvnhfluecuoehphhhprdhlihhsthhssegrlhhlvghnjhgsrdhmvg druhhkqeenucggtffrrghtthgvrhhnpeetudeugeejveeghffgvdekffetueeiieffhfdt geffieejfeeiteevjeetffevfeenucffohhmrghinhepphhhphdrnhgvthdpghhordguvg hvpdhphihthhhonhdrohhrghdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhphdrlhhishhtshesrghllhgvnh hjsgdrmhgvrdhukhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepsghilhhgvgesshgtrhhiphhtfhhushhiohhnrdgtohhmpdhrtghpthhtoh epuhgurghlthhsohhvrdhvrghlvghnthhinhesghhmrghilhdrtghomhdprhgtphhtthho pehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: idf69468d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Oct 2024 06:17:16 -0400 (EDT) Content-Type: multipart/alternative; boundary="------------nXhbJpVoEkj4aMuq00L0onoT" Message-ID: <2d0032fe-c7b8-4945-959e-1094d728b332@allenjb.me.uk> Date: Mon, 14 Oct 2024 11:17:16 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Asymmetric visibility is a BC break To: Bilge , Valentin Udaltsov Cc: internals@lists.php.net References: <2A7CF24F-3AE3-4125-965F-C65431C42DFB@gmail.com> <30a41608-a1ea-40a9-8d2a-c53c508cd89f@jnvsor.net> <3648840e-5c73-49c9-bc89-105ed761e5c2@scriptfusion.com> Content-Language: en-US In-Reply-To: From: php.lists@allenjb.me.uk (AllenJB) This is a multi-part message in MIME format. --------------nXhbJpVoEkj4aMuq00L0onoT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 14/10/2024 10:03, Bilge wrote: > On 14/10/2024 02:51, Valentin Udaltsov wrote: >> 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 libraries. >> >> Some languages have such a document: >> -https://go.dev/doc/go1compat >> -https://peps.python.org/pep-0387/ > > Absolutely! After some 16 years using PHP, I only recently became > aware BC breaks are acceptable in minor versions. For anyone spending > significant time in open source, I think there is a tendency to become > semver-minded and naturally assume PHP follows the same; it does not. > > Cheers, > Bilge > For reference, current policy on BC-breaks is here: https://github.com/php/policies/blob/main/release-process.rst --------------nXhbJpVoEkj4aMuq00L0onoT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 14/10/2024 10:03, Bilge wrote:
On 14/10/2024 02:51, Valentin Udaltsov wrote:
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 libraries.

Some languages have such a document:
- https://go.dev/doc/go1compat
- https://peps.python.org/pep-0387/

Absolutely! After some 16 years using PHP, I only recently became aware BC breaks are acceptable in minor versions. For anyone spending significant time in open source, I think there is a tendency to become semver-minded and naturally assume PHP follows the same; it does not.

Cheers,
Bilge

For reference, current policy on BC-breaks is here: https://github.com/php/policies/blob/main/release-process.rst

--------------nXhbJpVoEkj4aMuq00L0onoT--