Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114292 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 86521 invoked from network); 7 May 2021 08:04:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 May 2021 08:04:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 07EEA1804CC for ; Fri, 7 May 2021 01:11:08 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 7 May 2021 01:11:07 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id y9so10478104ljn.6 for ; Fri, 07 May 2021 01:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fKeQhVcRxeioYxLOFYD71ktYQ6YLoDKks53I61apAn4=; b=i7F4xhddlOKwLlMPOVxu5ssbiTsZZFbz6iUJkHYc8SUaMNf6F2QeiB3tyjwbATOR7y 8FCg4S7VWhIKu1xNpnj4hjjcA7zya1NOUaiIk+hKWncKni9ZkvGE9yUvGqeGY0kGKlJK otlqS7YyoHPFW3vFpfQ4B+12yD/Kf1uwMUe2qf3/UqZidH44aJKLfibpHpiyTvzsKVdN bDGGyX4Ld6Y3yokR6zElsd397W10NnTiwUFsuHaHmxdcfahQq0O4DzQ7BxRz6cIEJdew Cy2kytLBTIAqdOJgfQyZGVSCaK42/x2LY70u2XJzcg/1cSU4LjlFZ/n+3ZVDKBfDh9lO OvTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fKeQhVcRxeioYxLOFYD71ktYQ6YLoDKks53I61apAn4=; b=f62AL0VP/QaLPHBGj6fYwT+5rLb8z5NiDeBWpRmAuij2QffKsewunsAUltXz/RZQhs PPAS+OzFyGVsL3I2DxAbbJpDV2RXIRAAx6lKdn3mlyq1jzXQZRYfS990WPGRbOVHa5mJ DI75SLu6J1owYDIEMqin7N1jxdwR6J3WYzCzK3nedbfjevp/e0X5R3HUD580Ok0f3k55 Vb1BbzeL3f5xV0LIqJbm8wMJdBoMjO9XgwmpdZbGWyeq+EY2kv4TuiJ8Lr2U8LeYSlM4 pObJXBccmNYEBdwMM/wKTu1phdxT0mSfCsD/vrqdRiYbm27fwrS5qqsRJyP7QGb7DO3u ttUw== X-Gm-Message-State: AOAM533aGEy5NhiA/+tO3ce4OFEjRTGzxkJ4EFNwhuo4/TEJV36ZEARS 8OjJgmECtnV43tjWR4EfPAVwvUHsW2MNU2iQ5ZI= X-Google-Smtp-Source: ABdhPJw6ojuhJblverS2w5OBA8Ccoaaz2KWVrNB57Hg0ZhmcaandEiIGSleKtPOr/pMeMmfCPXbwNnKuMg5+2u7dM6M= X-Received: by 2002:a2e:a795:: with SMTP id c21mr7049556ljf.353.1620375065209; Fri, 07 May 2021 01:11:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 7 May 2021 10:10:49 +0200 Message-ID: To: "Christoph M. Becker" Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000002a2e9f05c1b8f880" Subject: Re: [PHP-DEV] PHP Language Specification From: nikita.ppv@gmail.com (Nikita Popov) --0000000000002a2e9f05c1b8f880 Content-Type: text/plain; charset="UTF-8" On Thu, May 6, 2021 at 4:01 PM Christoph M. Becker wrote: > Hi all, > > I wonder what to do with the PHP Language Specification[1]. Apparently, > the repo is abandoned (last commit was more than a year ago, although > PHP 8 changed quite some stuff). If we don't have the bandwidth to > maintain it, we should mark it as unmaintained, and maybe some of the > information could be moved to the PHP manual (I quite like the strict > syntax specification, which the manual almost completely lacks). To offer a counter-opinion to what others said: Yes, we should absolutely discontinue the language specification. The thing is, this is a project without purpose, or at least no purpose that I am able to discern. Without a very significant amount of effort, the language specification is so far removed from being either accurate or complete, that it is of very limited usefulness to alternative implementations of PHP. The grammar is probably the only part that's somewhat accurate -- and I think people can get similar mileage from just looking at zend_language_parser.y directly, which happens to reflect the ground truth and never get outdated. I think the only real usefulness the language specification has right now is that we're able to say "we have a specification". Now, if someone does want to pick up maintenance, be my guest, but I think requiring RFC authors or core developers to update the spec is a misallocation of resources: If we want to include "writing documentation" as part of the change process, then it would be much more valuable to write documentation for php.net, which is used by hundreds of thousands of developers, rather than the language specification, which is used by a handful at best. Regards, Nikita --0000000000002a2e9f05c1b8f880--