Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119941 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38694 invoked from network); 11 Apr 2023 19:09:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Apr 2023 19:09:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A91EC180548 for ; Tue, 11 Apr 2023 12:09:21 -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.8 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FORGED_MUA_MOZILLA,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 116.202.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (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 ; Tue, 11 Apr 2023 12:09:20 -0700 (PDT) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pmJMl-0004ht-9O for internals@lists.php.net; Tue, 11 Apr 2023 21:09:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 11 Apr 2023 20:09:11 +0100 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 In-Reply-To: Content-Language: en-GB Subject: Re: [PHP-DEV] Future stability of PHP? From: xfsgpr@hotmail.com (=?UTF-8?B?8J+YiSBHb29kIEd1eSDwn5iJ?=) On 08/04/2023 19:36, Stephan Soller wrote: > > > A few days ago I migrated a project from PHP 7.1 to 8.2 and the amount of > deprecations and fatal errors spooked me a bit (details below if you're > interested). That got me wondering about the long-term stability of > PHP (as in > language and API breaks) and I looked at the RFCs. I got the > impression that > static typing has a lot of traction now and I have no idea of what the > fallout > might be of changing a dynamically typed language into a statically > typed one. > Also API breaks seem to become more frequent (e.g. utf8_decode). I > stumbled > across the language evolution RFC proposals but it seems that approach > was > abandoned. I think the php focus has shifted from its original ethos. PHP was designed to be a tool to access sql databases and so the language was quite simple. Now php has become so difficult that people are asking what is the point pf PHP when programming languages such as c# or C or C++ or JS can do everything. It is difficult to learn these languages but so is PHP because it is becoming more like a desktop programming language. Might as well spend time learning main stream programming languages. PHP should focus on one thing and one thing only and that is to be the simplest tool for sql servers, mainly MySQL but also try supporting MS-SQL and PL-SQL (Oracle's premium database system).