Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123967 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 EDA1B1A009C for ; Thu, 27 Jun 2024 21:15:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719522991; bh=B/Uw57/poLhHAjlj1EwY1jidfdgU4K/q4Gn8I1KN74U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RmEDgO1IGpJ+/FGt1IfoZ5B1XWcfQd3UdyApXY0mb1mpZnhbP0VoZbnKYUx50G3Gy RZ4Y7cYCnVQ0pKGGRr5qxg6QudWIAWenjxoAQoHAdW4X6ISWHH/vnWzBpTgjWALYDQ ijX5zWGzJjzNEuZIiY+zwYqa0X723saeCT2lKw11mmeaqrjwrbc2au2EUI8qMnwCH2 pBl+75icFu4CyZsL5SkFZS8qCz5ZYsqegJA5hrwLWys1ZYwHjO+o3v2/61FzfltNB5 AAoMfwLXLNCPTNJHxetVlltc0aIa1kep0vEf51LHlgLlDmXXgv8i+cm3BYz7ebdCP8 8TFYoZOBR7PIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 64D19180056 for ; Thu, 27 Jun 2024 21:16:30 +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_H3,RCVD_IN_MSPIKE_WL, 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 mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 ; Thu, 27 Jun 2024 21:16:29 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1f9b364faddso66776365ad.3 for ; Thu, 27 Jun 2024 14:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719522910; x=1720127710; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=B/Uw57/poLhHAjlj1EwY1jidfdgU4K/q4Gn8I1KN74U=; b=dSvw26sve59BVf/crBXU37Buu87oYyIfA1QLBCeIy0nCqHWPuK9w/IaUiSry1TJ5v7 +yD6HpbuehBFSaXPQbZUvQEIhx+zYHZr9p1Gp89WoiJeMt/f091NPYsLeV/mbJhU2W5n /LGrFo0IicAAd/F7Sk4jCjNZXFBnnx70uo68UJs6Ovjyjmi4RYpCDW+8iZLH7I4drbui 9lUpsst/xo7/EElqg4T7MYK5SDR+k/zsLmKMdzGYxB7ZZTklHHAyiB5/AltMo5z6eiG3 Uw1e7O7TkiV6bU74H8XKRzIF6yRWJKTZsfriZ5BCyYbWNoJMcejendl74Au+fxGckchG YI7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719522910; x=1720127710; h=cc: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=B/Uw57/poLhHAjlj1EwY1jidfdgU4K/q4Gn8I1KN74U=; b=usx3EawCNGm8n5nk8b8uD7VVOikxb9KUuZgz6xHIWORIzlZySM6dfM783xHmDYeUXN BoAB+DJVolJoGH4vLcZYLFCL6p1vNbxCHrTpi7ehLswZkYXEAHqMvRG+CvUw6bvguw6e QrsV8XXSFtHXTj6DfRuQYP2SV2GMLVIFzc8eO8uiBV+EbwkeIEh8YwvAA8UNYc1uOAS9 76v8+ZFni8QdoQ/uBzWwTaQIAWB7yM6lnYBU1g2a8EntOMDUjMnsfT5Bqya4+Mb8zaSI mU+SskBNH7ISyN0ywRKtKNv02uqfmj/fk6uCxi7TEK2PCIDhQJIXTDK/OXWKq4BmP2kX gdPg== X-Gm-Message-State: AOJu0Yw4KJrHNZcRV4jrIFnG60c0QKSYoEksGTkkqX3VDWnKhAv0SVgR 96wblHJjS9nHG/5KEHpoiOz67AeE/IpQ6m6ayBDIAH114DPmLYKeMnF67BprkC0ZVSvhSEqcziF cbmkEdKAZFL35S4FpQaWBvGvpa+w= X-Google-Smtp-Source: AGHT+IG5Uh4Xhb94NUrOILmuIVSgaPMwV00NWt763I0DV2PQzKlwXZZA15lDUiRERrtxGW7e4dh547Cf/14G03ziXWQ= X-Received: by 2002:a17:902:ccce:b0:1fa:12b4:587c with SMTP id d9443c01a7336-1fa240c50c4mr158733925ad.56.1719522910107; Thu, 27 Jun 2024 14:15:10 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <0acedb8e-34be-4348-907b-4075cf7641fd@app.fastmail.com> In-Reply-To: <0acedb8e-34be-4348-907b-4075cf7641fd@app.fastmail.com> Date: Thu, 27 Jun 2024 14:14:59 -0700 Message-ID: Subject: Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript To: Jim Winstead Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000003d8050061be5a0a0" From: jordan.ledoux@gmail.com (Jordan LeDoux) --0000000000003d8050061be5a0a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 27, 2024 at 12:53=E2=80=AFPM Jim Winstead wrote: > On Wed, Jun 26, 2024, at 7:15 PM, Michael Morris wrote: > > PHP User Modules are php files that are brought into the runtime through = a > new parser that is able to generate faster and more concise runtime code = by > removing support for problematic features and imposing a strict mode by > default. They focus on PHP as a language and not as a template engine. > > > I think the problem I have with this proposal is calling these "PHP User > Modules". Here's an admittedly uncharitable rephrase of this: > > "NewLanguage User Modules are NewLanguage files that are brought into the > PHP runtime through a new parser that may theoretically be able to genera= te > faster and more concise runtime code by implementing a different language > based on much of the syntax from PHP. This new language does not prioriti= ze > its use as a template language for HTML." > > Do you feel that Phar is a separate language? Is PHP no longer PHP if the @ error suppression is removed? I'm really unclear about the point you are making here, even if I ignore the "uncharitable" rephrase. Jordan --0000000000003d8050061be5a0a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, Jun 27, 2024 at 12:53=E2=80= =AFPM Jim Winstead <jimw@train= edmonkey.com> wrote:
On Wed, Jun 26, 2024, at 7:15 PM, Michael Morris wrote:=
PHP User Modules are php files that are brought into the runt= ime through a new parser that is able to generate faster and more concise r= untime code by removing support for problematic features and imposing a str= ict mode by default. They focus on PHP as a language and not as a template = engine.

I think the problem I have with this p= roposal is calling these "PHP User Modules". Here's an admitt= edly uncharitable rephrase of this:

"NewLanguage User Module= s are NewLanguage files that are brought into the PHP runtime through a new= parser that may theoretically be able to generate faster and more concise = runtime code by implementing a different language based on much of the synt= ax from PHP. This new language does not prioritize its use as a template la= nguage for HTML."


Do you feel that Phar is a separate language? Is PHP no longer PHP if= the @ error suppression is removed? I'm really unclear about the point= you are making here, even if I ignore the "uncharitable" rephras= e.

Jordan
--0000000000003d8050061be5a0a0--