Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124188 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 qa.php.net (Postfix) with ESMTPS id CBE681A009C for ; Wed, 3 Jul 2024 11:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720005546; bh=f44AgZiKVpWc+4uJa14fFfVSi/fleu7aS4J+ZKxwBUk=; h=Subject:From:In-Reply-To:Cc:Date:References:To:From; b=TiZTq5tD9kcDM0NBnhkgUU+vEjtyVd0SLvmPBAYN1miJU3i7N6+Mev+DTuH/YHVFJ aj/z9iBxrWsINVVdsk8RVkBqkuhN6+wiflEH/d72nHe6XYhjuOg1saCcZZtOCB6BCV nGOncuwoeKFdqisZGfmOvEAYKZqL9vpfrOSz4g3n6bbhKwAU+mNlVNJxluHdfpsmx+ l1iTZvLA5CAVDXYzX0h1BDOlUaZnFG5bZTg61vQoiWC52CHrFxLHxVB4MeMJ40etPL 35Msbe14NCRvQGds/Zgb9EJ6wJUe4NLzQS0pIMc88dUxEX6oChfotk4N8VUVRRMhew q7uy1gwyQD+wg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D909C18004A for ; Wed, 3 Jul 2024 11:19:04 +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.8 required=5.0 tests=BAYES_50,DMARC_MISSING, HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 mail1.25mail.st (mail1.25mail.st [206.123.115.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 3 Jul 2024 11:19:04 +0000 (UTC) Received: from smtpclient.apple (unknown [49.48.245.197]) by mail1.25mail.st (Postfix) with ESMTPSA id AAAA160373; Wed, 3 Jul 2024 11:17:34 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-84FA3BC6-45A2-4BAB-932F-4A8A56F1F54A Content-Transfer-Encoding: 7bit Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript) In-Reply-To: <09559430-4477-4516-8D78-6F4071E1AA6C@newclarity.net> Cc: Arvids Godjuks , PHP internals Date: Wed, 3 Jul 2024 18:17:21 +0700 Message-ID: <0182F3D6-F464-477F-9029-A2D0A8B50C71@koalephant.com> References: <09559430-4477-4516-8D78-6F4071E1AA6C@newclarity.net> To: Mike Schinkel X-Mailer: iPhone Mail (21F90) From: php-lists@koalephant.com (Stephen Reay) --Apple-Mail-84FA3BC6-45A2-4BAB-932F-4A8A56F1F54A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sent from my iPhone > On 1 Jul 2024, at 23:33, Mike Schinkel wrote: > Autoloading runs userland code. This means it has the potential conflict b= etween different packages with different autoloaders *Can* run userland code. It doesn't *have to*; FYI spl_autoload (https://ww= w.php.net/manual/en/function.spl-autoload.php) has existed since php5.1 and w= orks amazingly well.=20 That "standards" like psr-whatever can't (read: choose not to) use it says m= ore about people and maintaining their little fiefdoms than anything else.=20= --Apple-Mail-84FA3BC6-45A2-4BAB-932F-4A8A56F1F54A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Sent from my iPhone
On 1 Jul 2024, at 23:33, Mike Schinkel <mike@n= ewclarity.net> wrote:

Autoloading runs userland code. This means it has the pote= ntial conflict between different packages with different autoloaders

*Can* run userlan= d code. It doesn't *have to*; FYI  spl_autoload (https://www.php.net/manual/en/= function.spl-autoload.php) has existed since php5.1 and works amazingly w= ell. 

That "standards" like psr-whatever can= 't (read: choose not to) use it says more about people and maintaining their= little fiefdoms than anything else. 


= --Apple-Mail-84FA3BC6-45A2-4BAB-932F-4A8A56F1F54A--