Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119861 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35431 invoked from network); 10 Apr 2023 15:10:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 15:10:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6038A1804D5 for ; Mon, 10 Apr 2023 08:10:36 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8560 212.227.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 10 Apr 2023 08:10:35 -0700 (PDT) Received: from oxbsltgw07.schlund.de ([172.19.249.24]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M4alK-1plKfO0mU2-001kbf; Mon, 10 Apr 2023 17:10:32 +0200 Date: Mon, 10 Apr 2023 17:10:32 +0200 (CEST) To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , Craig Francis , PHP internals Message-ID: <603015689.2450961.1681139432060@email.ionos.de> In-Reply-To: <88aa408c-6941-bedd-792d-f8265f57bd00@bastelstu.be> References: <114465957.2449454.1681137473474@email.ionos.de> <88aa408c-6941-bedd-792d-f8265f57bd00@bastelstu.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev40 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:LCQ+UddQcbrcZ0vy4S5XRvZySAngp5+9z0rMw4Jr7r1b9PdtrWP k2s0FMDLxVgSIVe235xNu74Z34heyDugBp128R7kx2q/6gJhUshztUEvFcGb5Pv6+7JK+oz RmBP4IdhK2HAeur3RbSjTWPLeZGONnugejyGA1IwFr4vOALN5AOEVghklkkd9WlR9+8MTNX 5wszrgxT5JISqmreYq9XQ== UI-OutboundReport: notjunk:1;M01:P0:DglKHfzy5ME=;UmJydh7qEw5VymlifckjSNX79ys aOIEkWCirv/WuLfvsEayix6TQ0HreEVxbw3REbmSvj9tihuooMUkaEzHb2G5XcBBcq1iXcWsF XczQ01VNyedkIydW5GYWQvIF/VxJuyMuFhwnU5ICjCpfEOZOcNhi0tAuxwuFRVX7LrWHq91um cWWUR7qIbsQ3lS9p0vJT48wfxxmIzL993L4mv9ITABtzLExOmra/2XOQAC0dSDl4QIHikqz+2 cBDgGKaug3h+aov6ekGKQTX98CVHsdB+u0ZYlxSw/uC3X2/bpBh1p9QIoOr8QKOZhSlXi2uIb ta/r++AT9effrk69xlcX5NprN741RQ0s2+AX1WrMlevk0ufe5U06+LanPmCMyd5bJtUy5WSuD sepjb985U1YVbXd7bhIcIt2Qeq8vEywJvyUYY5pTEBOgC6+RYxB8pEgJtgW1Z9KClr8ZTV9Mj Rsc2VJiPPga+8CQoavFr4XWTTf5Vs0bneG+1jJDQAOWwxwmjBXpLKYvygguvH031VYQK0TTkq 0KNDXLY9ylU5T+KXwEP3VtX61LKPt9eRBLePOaAR7hG0jd4WNl6AYePGMksgoVQ4f4gvTarbX aYggfaa/qqNPpgs9O40Ng+n7OdVYnFD2QormMEWOCVLHuAlotIXxp5A+oslDEYbzE5l+5h0Ty c+8X38B+qyKROHJXnKOfL6+N/3eo3z19SClDwAvYwg== Subject: Re: [PHP-DEV] Future stability of PHP? From: mails@thomasbley.de (Thomas Bley) I don't want to say that everything in old code bases makes sense, I just w= ant to say that mixing null and empty string was quite common in the past, = mostly coming from accessing undefined array keys. PHP has always been good= to create new business value quickly. The problem now is that bringing all= code into new standards does not bring new business value, so companies tr= y to delay or refuse the upgrades as long as possible (also thanks to docke= r and others). Also many developers don't like upgrading code since it's ei= ther too boring or too challenging. The first thing done is mostly silencin= g deprecation messages, which makes the gap bigger when upgrading to the ne= xt major version. So having support for multiple php versions inside one binary would be a gr= eat thing, same as modern web browsers still support html 4 even though htm= l 5 is out for so many years. Regards Thomas =20 > Tim D=C3=BCsterhus hat am 10.04.2023 16:48 CEST geschr= ieben: >=20 > =20 > Hi >=20 > On 4/10/23 16:37, Thomas Bley wrote: > > Regarding compatibility promise, I'd also like to mention that things a= re quite complex now, e.g. > >=20 > > https://3v4l.org/VfAr4 > >=20 > > has 4 different outputs between php 7.x and 8.x. From userland perspect= ive, having =20 > No, it has two different outputs, one for PHP 7, one for PHP 8. >=20 > It also has two different deprecation notices, one concerning the=20 > behavioral change between PHP 7 and PHP 8 we're seeing and one=20 > concerning an upcoming behavioral change with PHP 9. >=20 > However in all PHP versions the function call clearly is non-sense,=20 > because 'null' clearly cannot be a substring of a string, as it is a=20 > completely unrelated data type. >=20 > Best regards > Tim D=C3=BCsterhus >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php