Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129736 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 BF8D11A00BC for ; Mon, 5 Jan 2026 23:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1767655123; bh=6+wfyQSyShqlC7bQ3AbnkfRMweD4+pY1iFWSaoOwi5c=; h=References:In-Reply-To:From:Date:Subject:To:From; b=fwqwX/HzFQdB5wCUo+kJwAwfwDkqrYmGBxE3eABUZ7psYcgbH6fiaDUQDfsKjUH/X 12Xs4UGVXfQQ0p/ouVrCC+GrtV0PFddeG6I9ecvIxGhCXb2FoA6X5iH7PvU7Yz3LWg qxhcDV+zw7Pv6k+cAMJUS3rdrIvbWW14qx24+MLWNB4fhrTEPNnfBsc2MWrbXOTn6z KmYWI+7LGpY0waHhdMl46F7gTwvMQMveVmBvo0a3XyNt5s+Lhrnb4mtHHcTPWF2IDA /BF3CdivVxaFHzDyE5JRJpRIBiIrhUyTGwTXCL3YOXNUigmFTzOhqRXA7jLqzB5UjG InqC8vOgXEfng== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4FD48180072 for ; Mon, 5 Jan 2026 23:18:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 ; Mon, 5 Jan 2026 23:18:42 +0000 (UTC) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-37b9d8122fdso3291831fa.3 for ; Mon, 05 Jan 2026 15:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maphpia.com; s=google; t=1767655115; x=1768259915; 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=6+wfyQSyShqlC7bQ3AbnkfRMweD4+pY1iFWSaoOwi5c=; b=jh3DGRy3OKMPeygOJ15tV7q7nV0Lc6yxl4TtY1kLqiLheycp33mqZMaq6ppuMRPk2d 8s1CXOFIT2yaX1LVfrak0iL7VFlR1lDxrIaUiWBa+hGDYa1FGCLYqgUK/Pk4KiSB2YI1 qYdB0lzwGiFAM4Wh+9eCiI90d+8VirYSmzGQhuSSalPaGrCdaAZara3kdya2+czz5YRf fkmEQItYSd/RsbNMeRWSsRr+KIVUs5b3kDPrJztTD6tcIC6qhIL9BDlMTbGrw7Ii7k8y YQos09yE1OmzC+YSfS/tlycOinISxD9B5dWAA1L7hTO0gqVaEbfNi3R0oNkGTY51LF78 +Upw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767655115; x=1768259915; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6+wfyQSyShqlC7bQ3AbnkfRMweD4+pY1iFWSaoOwi5c=; b=TNiGI/hMj+XlIEqfVtjwJIsi4lUZnCdQLOUXhEcqPrjFEKTvw5pTvOasgTRr5lpwZa S7kDTvNXjrG4Dj5Sbf7pT7koc6EsKubw2jcOdYhDA8Iwqj8/PudKU7XNX6h4JgY9tCxm AGrAxf0hsK8pYJLIwOWTCidG1DTstf9liMA3IDOT2AmFAvHGqp3J/cASOI/XQCdhyzvs SIrsPSwI7IUvNraNkZsQyEAmMbUAdBS11XTQPVwLYYFrg+kzknRKHCR5ehEhy0JCc64w bDypgUAezR4bTf0ALmSiXAzAEgWHQGfsGIG20uiwJJviYjy6eAXkmu4WsHE8wec+FEr6 O0yw== X-Gm-Message-State: AOJu0YyLrXMnK3yIT6/zEUeuubZokQSfhC2u1AIgLeCoAlwKCZIOtpBt LslV3MSncjpe+CzRvJ/vS9k7otQk9CPDkDrRuZ7LXQCrqtoIb757NbIieN87FwEurzmGRj2YlWb XrAQLAr3Za3YTKZK1wMeBtw6rCJBvjOBlBCHy6yawqU6P1MNO6C0= X-Gm-Gg: AY/fxX7DNujc9fxSGqYKsoFQW6hOBLOHYqk+p7rZrpU8FaDra59CLV77LKT8aBwH+KD IA7YxYQj9mPlb+M4MYbj6Q6TqqUNZMSoQpURZYQOfYHweC/Xy3NNLofNrQmZqyhPOxvz5uER3yC INElToC4z72wFi5MSycsoNakrKqij4utyC37yRUUWTNu/jPmusnv/5htBwdNKf41+VGGEPmi5/q 5w1zm8OT+H3HH83nYKcbXS7fZQqvfONAvr2Imf6Elc9RyOdVL9jBUEgGa69vcJJXjaxsU9pQZIe pFfWCFo6e/ht0F/HaAgdcSLE8Q== X-Google-Smtp-Source: AGHT+IHHWwfIuJ9XCbu0mcF607L8ANoHY8246Kw7hXCzbCrPbj2zW+VsJEvZuLl+8EGRxAf/rLNn4rimxNqmvHHQIec= X-Received: by 2002:a05:651c:2110:b0:37f:b6bc:e792 with SMTP id 38308e7fff4ca-382ea9e70d0mr3027871fa.7.1767655114137; Mon, 05 Jan 2026 15:18:34 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 5 Jan 2026 17:18:23 -0600 X-Gm-Features: AQt7F2pflId5p_CQGPzkKZKLk48KBCXTR0CACC3EXPwMgZEFYBOGntCZ7QDADT0 Message-ID: Subject: [PHP-DEV] Re: Request for RFC Karma: "use-from syntax for namespace use declarations" To: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000029f2e00647ac47bd" From: str@maphpia.com (=?UTF-8?B?U3R1YXJkbyAtU3RSLSBSb2Ryw61ndWV6?=) --00000000000029f2e00647ac47bd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just a friendly reminder about my karma to post an RF in the PHP wiki. Again, my user is "str". Thank you very much -- Stuardo Rodr=C3=ADguez Mercenary Web Developer La Maphpia =F0=9F=8C=8E maphpia.com =E2=9C=89 str@maphpia.com =F0=9F=93=9E +502 3462-7= 169 On Tue, Dec 30, 2025 at 10:25=E2=80=AFAM Stuardo -StR- Rodr=C3=ADguez wrote: > Hello internals, > > My name is Stuardo Rodr=C3=ADguez, and I would like to request RFC karma = to > publish an RFC on the PHP wiki. > > I am a professional PHP developer with over 15 years of experience > building web applications. You can find more about my background here: > - LinkedIn: https://www.linkedin.com/in/stuardo > > I have prepared an RFC titled "use-from syntax for namespace use > declarations" which proposes an alternative `use` syntax that improves > readability by placing imported symbols first, followed by a namespace > prefix introduced by `from`. > > Example: > ```php > use ClassA from Vendor\Package; > use {ClassB, ClassC as C} from Vendor\Package; > ``` > > This is syntax sugar equivalent to existing imports: > ```php > use Vendor\Package\ClassA; > use Vendor\Package\{ClassB, ClassC as C}; > ``` > > I have already implemented the necessary changes to the Zend Engine > (lexer, parser, tokenizer exposure) along with comprehensive test coverag= e. > The implementation: > - Introduces T_FROM token > - Supports single imports, grouped imports, and function/const imports > - Treats `from` as a soft keyword to preserve backward compatibility > (function from() remains valid) > - Includes 7 new test cases in Zend/tests/ plus tokenizer test > > I would appreciate receiving wiki karma to create and publish this RFC fo= r > community discussion. My wiki account username is: "str"\ > > Thank you for your consideration. > > Best regards, > Stuardo Rodriguez > > -- > Stuardo Rodr=C3=ADguez Mercenary Web Developer La Maphpia > =F0=9F=8C=8E maphpia.com =E2=9C=89 str@maphpia.com =F0=9F=93=9E +502 3462= -7169 > --00000000000029f2e00647ac47bd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just a friendly reminder about my karma=C2=A0to post = an RF in the PHP wiki.

Again, my user is "str= ".=C2=A0=C2=A0

Thank you very much

=
--
=
Stuardo = Rodr=C3=ADguezLa Maphpia
=F0=9F=8C=8E=C2=A0maphpia.com<= font face=3D"Liberation Serif">=E2=9C=89=C2=A0str@maphpia.com<= font face=3D"Liberation Serif">=F0=9F=93=9E +502 3462-7169


On Tu= e, Dec 30, 2025 at 10:25=E2=80=AFAM Stuardo -StR- Rodr=C3=ADguez <str@maphpia.com> wrote:
Hello int= ernals,

My name is Stuardo Rodr=C3=ADguez, and I would like to reque= st RFC karma to publish an RFC on the PHP wiki.

I am a professional = PHP developer with over 15 years of experience building web applications. Y= ou can find more about my background here:
- LinkedIn:=C2=A0https://www.linkedin.= com/in/stuardo

I have prepared an RFC titled "use-from synt= ax for namespace use declarations" which proposes an alternative `use`= syntax that improves readability by placing imported symbols first, follow= ed by a namespace prefix introduced by `from`.

Example:
```phpuse ClassA from Vendor\Package;
use {ClassB, ClassC as C} from Vendor\P= ackage;
```

This is syntax sugar equivalent to existing imports:<= br>```php
use Vendor\Package\ClassA;
use Vendor\Package\{ClassB, Clas= sC as C};
```

I have already implemented the necessary changes to= the Zend Engine (lexer, parser, tokenizer exposure) along with comprehensi= ve test coverage. The implementation:
- Introduces T_FROM token
- Sup= ports single imports, grouped imports, and function/const imports
- Trea= ts `from` as a soft keyword to preserve backward compatibility (function fr= om() remains valid)
- Includes 7 new test cases in Zend/tests/ plus toke= nizer test

I would appreciate receiving wiki karma to create and pub= lish this RFC for community discussion. My wiki account username is: "= str"\

Thank you for your consideration.
Best regards,
Stuardo Rodriguez

--
Stuardo Rodr=C3=ADguezMercenary Web DeveloperLa Maphpia
= =F0=9F=8C=8E=C2=A0maphpi= a.com=E2= =9C=89=C2=A0str@maphpi= a.com=F0= =9F=93=9E +502 3462-7169
--00000000000029f2e00647ac47bd--