Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127285 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 lists.php.net (Postfix) with ESMTPS id 75C471A00BC for ; Sun, 4 May 2025 21:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1746393835; bh=SC7/qzqO8PajBhTpsqYEQRCsJUAsdy4jsMSZwEMWe9c=; h=References:In-Reply-To:From:Date:Subject:To:From; b=h0ILFAP6Y8xCm3YdjKRShXJ5f7leSrmLMdFNTeOzLiWUtQysqM5ONhZTO/KBy9Ei4 GQK1u4mIiAJObUkdIT/pWbfKzpS8b/OvPcv5lBqPwsohbRtm6SBIUdXLCioLvAqV1M NgNXoOiwgc2Kht0WH12+J0BoZnOdUGftgBIj9JdKpzEg09o2yn1msIwdHrOanvPE2k e7/CjCwqFCJ0sRrlXRoJpji8/patH1wwBvWo9n8Okcoc2WDcKMvUd+n3CmkSyKNlll iSW4NftkDa840SegK5yQ3t5+3HtfPjfrhapeewdnXZRtDTxP5Wna6uoGb5mvyFmvxb j0w4TTleJhJJw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 62DEC180041 for ; Sun, 4 May 2025 21:23:53 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 ; Sun, 4 May 2025 21:23:53 +0000 (UTC) Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-6ecfbf8fa76so54222266d6.0 for ; Sun, 04 May 2025 14:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746393967; x=1746998767; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=SC7/qzqO8PajBhTpsqYEQRCsJUAsdy4jsMSZwEMWe9c=; b=YVDjzgJ/4g6heJo2Cy0aw78jynwMI2nnd4rX9jQl1U/ZWStoXRvWiCT3kAbS9HH0dZ mCcsMuZD0kG2Pg7auv3qnt0ZeQJHZ8RziVifOWXGO3ht+LdO8IIamRBZGXttH3GdrZWB u8+4vIf+W5UkpY4RmpdBlwvKmkM+RtOx5VXhusETzPkikcy7P7YwjzoDAYk3MNctnMLH 3nCDXXkIXp60x3h8x1AfylKqwzJvvQdTGL2qc/BX6TqIJsAqtDgjt2VjKABaYwu9+6Ag Jxmpk+csMuG385tROL5YBHjqz3ctO1ks4F3rk80yBCSyIPzrv+gESa3QzEOT2CNbjQMN 7Bpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746393967; x=1746998767; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SC7/qzqO8PajBhTpsqYEQRCsJUAsdy4jsMSZwEMWe9c=; b=VDjOEzntRTf3ppUFDjkwqxadrzi5hOt38nkYOAUO6aoxDhSegVwAPZqHwokv5hSgFZ UA2fnsVDYSh5Q5fXdfkrfBXcJfXfJllyCuhHqR0dX+g/Id8hMkm0vgQVdyDXFxHfKdXM f79K+Sjy+0/aT2ZCdrimbYOanCU9TX3g9FDq0SrXY06XYubqcsZOeNNMYo5HJXModnMz LOsECdTc+ITZfsW0CBYwLZDjHV5Ridwy0xN/4Qc/nskyEHJrtUH5qBxZw9Hl1r5TLLtC 7e7v1xDFEsbItsdogxvSAbmNzlgYHkrCUYhEBNLfz42qUlXn2raHhMIK+l/HxiftqzKW qU2g== X-Gm-Message-State: AOJu0YzOTIRLCst+sSBoRMQ+zdTMoJ+YKJj15lFDGyWMBXcc3OxXXVtn UcxZXzcHqGaCQeiRouzJvR5M3/pqOa9MHs7/Y7lirgYVH/053+khR1nz8d2l84IcHlmJj4x6CIt uOuaxddg35f+Z5BbETHIs+Fgj7MFZqEj4 X-Gm-Gg: ASbGncuCr+Rz1q4piCM+YNg3m3lHavTTOOTZKEjiGdD+aJQ582ZJQ+qQ6IeRyC5POTs z6I5Tq2Oa1TkaXWjWdqfneIB1/WmQA0DeQE9jq00N3jgHiqbhghV04t13FuWuc0y9d1Z9EaLTMg 6q5P/eK5MHsai7pIKRNwhBx4sN/naz7X+0DZk0lOf7trBsm1Xfx+Av X-Google-Smtp-Source: AGHT+IFOtkO62rsDpJfpls/7uqJlaeM8PUHQHRm7XtwVLlMc/tDwDyOLUKjZ+0kQaNzM0eWu96mKIU+nLZvn9i/BL4c= X-Received: by 2002:a05:6214:1bc8:b0:6e8:9957:e705 with SMTP id 6a1803df08f44-6f528cfe9dcmr84892446d6.34.1746393966875; Sun, 04 May 2025 14:26:06 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <9cbbe803-5fd1-4011-b42e-033d4ede3fe9@app.fastmail.com> In-Reply-To: <9cbbe803-5fd1-4011-b42e-033d4ede3fe9@app.fastmail.com> Date: Sun, 4 May 2025 17:25:56 -0400 X-Gm-Features: ATxdqUF_s6rKHie0aP4m-Ss0bvzfmx5PZPgllmnfa-H0TYRljP9lNV63_SAjIrE Message-ID: Subject: Re: [PHP-DEV] Modules, again. To: PHP internals Content-Type: multipart/alternative; boundary="0000000000000898af06345608c0" From: tendoaki@gmail.com (Michael Morris) --0000000000000898af06345608c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 4, 2025 at 5:19=E2=80=AFPM Larry Garfield wrote: > On Sun, May 4, 2025, at 2:34 AM, Michael Morris wrote: > > It's been 9 months. Been researching, working on other projects, > > mulling over > > points raised the last time I brought this up. And at the moment I > > don't think > > PHP 8.5 is in its final weeks so this isn't a distraction for that. > > The > > previous discussion got seriously, seriously derailed and I got lost > > even though > > I started it. I'm not going to ask anyone to dig into the archives, > > let's just > > start afresh. > > This proposal requires: > > 1. Every module author to change their coding structure > 2. Every consumer of a package to change their coding structure > 3. Devs to abandon "it just works" autoloading and explicitly import > packages. > 4. Abandoning 16 years of PSR-0/4 file convention in favor of "module =3D > file", which will almost certainly result in multi-thousand-line files ev= en > for clean, well-factored code. > You're 4 for 4 on falsehoods. Care to actually read what I wrote because I know you're more intelligent and better than this and very disappointed. > > --0000000000000898af06345608c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, May 4, = 2025 at 5:19=E2=80=AFPM Larry Garfield <larry@garfieldtech.com> wrote:
On Sun, May 4, 2025, at 2:34 AM, Michael M= orris wrote:
> It's been 9 months. Been researching, working on other projects, <= br> > mulling over
> points raised the last time I brought this up. And at the moment I > don't think
> PHP 8.5 is in its final weeks so this isn't a distraction for that= .=C2=A0
> The
> previous discussion got seriously, seriously derailed and I got lost <= br> > even though
> I started it. I'm not going to ask anyone to dig into the archives= ,
> let's just
> start afresh.

This proposal requires:

1. Every module author to change their coding structure
2. Every consumer of a package to change their coding structure
3. Devs to abandon "it just works" autoloading and explicitly imp= ort packages.
4. Abandoning 16 years of PSR-0/4 file convention in favor of "module = =3D file", which will almost certainly result in multi-thousand-line f= iles even for clean, well-factored code.

You're 4 for 4 on falsehoods. Care to actually read what I wrote beca= use I know you're more intelligent and better than this and very disapp= ointed.=C2=A0

--0000000000000898af06345608c0--