Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121754 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32411 invoked from network); 22 Nov 2023 07:36:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Nov 2023 07:36:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 26F7B18002F for ; Tue, 21 Nov 2023 23:36:05 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.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 ; Tue, 21 Nov 2023 23:36:04 -0800 (PST) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-5cc55b82ee5so4517287b3.2 for ; Tue, 21 Nov 2023 23:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20230601.gappssmtp.com; s=20230601; t=1700638560; x=1701243360; darn=lists.php.net; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=1XSDZIahQteCTk6BnPyw8qtjc85KV3FG1XZpxztD2A8=; b=cbNzFFYDJsI7T/1jF4Zl0K1oN0Fv1XJiPxqrsCyDRYjKkqbA0aP7t3Fhyx3g8s41Xr JtOPaObcfFiF7mPsynjMqJZCfIeGLuItyw1YlJDf5QYwS0ORBjaerTbxr2dqkYexlvgc iGWr+KKk/7ksJRzt4Dj5ausQc9j6uMpDpCgZu8M+udNRXH2gBd+Pe23pZ1I+ctlJCpcG PCKK9e85EFU6CryuSNh9hvVNRInISqjRmL0hIJ+dTx4aIc6hTcAm8gkcfwHeU//xLQVv uB7uzkCEfVjSmdFS/qmBY/RvR/az4If2CjMAa6Fd1fZhRlxccVRVAWpGca8JPynz+oia ChGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700638560; x=1701243360; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1XSDZIahQteCTk6BnPyw8qtjc85KV3FG1XZpxztD2A8=; b=j9U8ps5ww5AtEfqnbq04tPDtnySw1ZC2O5jhBrIzRA47J8tTw3bMG9E86sqCdw2skK 2EITOOhYzmzkklWkBE1a+LNuS5fBUSUortKiOOorh9Fgpm1y5okplEwrBEYtkDLqjIFd EoAz6FizZHjszwDgVIi0pqwogbKOz+i828abiVNBhVacWevFLdXVvpx85vmnYQzagLyD uItbZRT+loUfYUoZjKGphNtGRKzM/YSDD0GxlDgpbsFN4T6cIDo9fF2qeqtbQEXT3jsN 6urO4ltYd9ZwLs8LnxYBUguWGKMgyGUggueWPTqz9nfFyMGmxY3nPZdQRTNtCIOyDuyG 2JYw== X-Gm-Message-State: AOJu0YxPAVCxb1n5TCsGqfKbDW3yH/8UHoe8fleyvejZoy4SekGpJqdp YJbJZXmpAwk4hruaBDrNEtxI0w== X-Google-Smtp-Source: AGHT+IFrHnzwKhBHI7QUwJo6zSvu7wsEiHfFb2wdkMFJfST+24INN90br7IdKCCTj89maa0Fer1tkw== X-Received: by 2002:a0d:d8d6:0:b0:59f:761a:fe70 with SMTP id a205-20020a0dd8d6000000b0059f761afe70mr1454798ywe.19.1700638560063; Tue, 21 Nov 2023 23:36:00 -0800 (PST) Received: from [192.168.1.221] (c-98-252-216-111.hsd1.ga.comcast.net. [98.252.216.111]) by smtp.gmail.com with ESMTPSA id u5-20020a816005000000b005b59652bcdesm3502478ywb.60.2023.11.21.23.35.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2023 23:35:59 -0800 (PST) Date: Wed, 22 Nov 2023 02:35:59 -0500 To: "G. P. B." Cc: Jakub Zelenka , =?utf-8?Q?M=C3=A1t=C3=A9_Kocsis?= , PHP Internals List Message-ID: <04DC3709-3B46-41C0-976E-E6AB28BC0D34@edison.tech> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="655daf5f_6b8b4567_9093" Subject: Re: [PHP-DEV] [RFC] [Discussion] Resource to object conversion From: mike@newclarity.net (Mike Schinkel) --655daf5f_6b8b4567_9093 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline > > On Nov 21, 2023 at 11:33 PM, wrote: > > > > What is the point of a major release if we cannot even do such a BC break? We don't even know when PHP 9.0 is going to happen yet. > > I have been using Go for about four years now and it seems they have gotten the backward compatibility issue nailed, and that pays great dividends in developer confidence in the language, i.e.: https://www.reddit.com/r/golang/comments/17v4xja/anyone_face_issues_when_updating_version_of_go/ They recently explained in depth how they do it: https://go.dev/blog/compat Also see: https://thenewstack.io/how-golang-evolves-without-breaking-programs/ Although Go is compiled and PHP is not, I think there still may be significant insight that can be gained for PHP by studying how Go is handling it and applying any lessons learned. #fwiw - Mike --655daf5f_6b8b4567_9093--