Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126265 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 9C3C71A00BC for ; Sun, 2 Feb 2025 09:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738488345; bh=AuZu+vr0z9ts5nT8tTVcazG9DYtuKQLCHuoss/CrA2Q=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=M4AvpGZwU04D7E78PQrqQYQgMFe+WXyyox4TpvKw/8pPP1UIZDaoXcahGls6BhqMw JvJWA5oCSJcg56pJjv53yOvOIvXv5wNMSlV0K99Q9xc/9i5UpZCUsRmUizA42lDJOs Jb6QTOxj9updAGKMvG+rDS+TOCb1JGrS1jhnXSIUbViwZis06OI3uHm8IyaRakGkLc By9H3i+BXHlT298N1qifsMOu2lFqKozAjyTiFz69MJ7k+aZPOhqefnYPQjBB9cRJrH osI3izNystXojVOzW85tKmPO9Pf/tzM43DPTUbx0kPaVpzJ95XyYFSmaW8cfoYutXT AxYh4qBFhwDKQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C0BC4180071 for ; Sun, 2 Feb 2025 09:25:44 +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=-1.2 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: No X-Envelope-From: Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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, 2 Feb 2025 09:25:44 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-43618283d48so25174235e9.1 for ; Sun, 02 Feb 2025 01:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738488510; x=1739093310; darn=lists.php.net; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=ko5V1f2iTfx+FbquY2GDGCOyvvMBp4busREybfk7gVM=; b=glmvt0Hz3JM4AItSC5oOZSLuqyvFO7JWSidmwZbCSNxBHytLvpE7AhixkK+OrvI9LN LnXrwxyl4nqtL9p9uFGNGxisux7Zufej1OuddHwz9vyANEZm3AchiDzm+/qZclCTP0GQ Db6RZhF/QRq5BJf7iJw97rT8x2DRT9QB9zMnq8tRISP1K5yxtQM6+O/gyxM+he3bNjVa CEvqWYkUI/PXCZt0X5ZNHaokquwIVDfp35gjVqehYbu7+IrfI4dmNFvCP+U5deIFfl8H bUtKDJMOt4TipSj35ikMG4n6edx9hRbtrvR4dKJO5OFYDTt3WIqj9lIovgDuhV/Hv3v6 xbkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738488510; x=1739093310; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ko5V1f2iTfx+FbquY2GDGCOyvvMBp4busREybfk7gVM=; b=k969iC2bM2fpfnllWfu8sVLuezlspTE1KRGiSaLg26/ahYlF9BRY6ffZFDhG55So/g 1mEChBpMiX2IRUth0Wt6Ib9VVze5394AZAGUkG4WNGDVpRz2XEIB3maJKAdprOpw6rXe hu1LVn51aaG+texClM7NyfrZXNQ7vCKpsSodwhQcK9oPSktmgAmy62xwZmg5Pdc1LTmQ FDiX48sjEjXMpnZWSXasAfofmb4pB40T9A63MTWVcTOMf15n2npuV1/etVsAVtPIRQdQ 3MiB1H59gO19FqegAM5IB+FeBWgmjXy63HNdihXrawyDPGgMU3P9eO/8udk8NYaGyowO h5IA== X-Gm-Message-State: AOJu0YxY1CstFQYNf5XW9CjEu1QXm+A2V38WHl6jrXDS3ai/sQV+FUvd Tw9qIg/xMPNuBRVS8XwiCeKr2qozpVo4/ypAdKM/XkxmolxSrUDrXVvd5IkQInc= X-Gm-Gg: ASbGncvmE8AtPmGqM/uSj9FRcfWHj1rNpUfwV/utPAv0qT2uO/NiGKjRloDPf2R/8ZQ 2pYN/Q+mpHBO3sqE/BNNxLInfUoJ7PyVGQMt7IEukTQ9i0+JS3XY0Fs6xpFv/p3MOFsHxFfuYwm XPpyRc7JORqy7s/mNX8DBiQEUe7lgIzXhvGVXAk9nL8D3fWiYO6NvfXiqH70wJTBc9+wtCQLCzF q4n7GDAa1uLtG/8JD7kLQ5axNBH/zqAR8BahKwHWtjl7RLgtxvJEFN3bYzf+4k4OtJC7yQA8eVD AIyjNrLKUfMD/5IO03z1zEGcER93pWP8246mHxYTl9aKhABmKiZZhqp2wg== X-Google-Smtp-Source: AGHT+IHltOSZfL8Ox/1IS7nPeoaRIlhJjRmAOsDZLlaOaYcamKpfIjI18FxoaSe+dCF/Vc6FsLKpag== X-Received: by 2002:a05:600c:138f:b0:434:f1e9:afae with SMTP id 5b1f17b1804b1-438dc3aa785mr127309685e9.1.1738488509361; Sun, 02 Feb 2025 01:28:29 -0800 (PST) Received: from smtpclient.apple (3611301-ch16866.twc1.net. [92.38.240.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438dcc26d6fsm147760865e9.14.2025.02.02.01.28.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Feb 2025 01:28:28 -0800 (PST) X-Google-Original-From: Dmitry Derepko Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_11CB7A0F-A42F-4099-9DFE-E9FA63B93014" Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.113.1.2\)) Subject: Re: [PHP-DEV] RFC Karma Request Date: Sun, 2 Feb 2025 12:28:16 +0300 In-Reply-To: Cc: PHP internals To: Ilija Tovilo References: X-Mailer: Apple Mail (2.3826.400.113.1.2) From: xepozzd@gmail.com (Dmitry Derepko) --Apple-Mail=_11CB7A0F-A42F-4099-9DFE-E9FA63B93014 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thank you, Ilija. I really appreciate it. Could you please advise do I need to create RFC or it=E2=80=99s better = do to it after solving technical issues? If so, one common RFC or each for each operator: return, break, = continue? I=E2=80=99d also like to see all this problems by myself and I have a = question. Is it possible to run php and add breakpoints somewhere at the = parser and any other places? Is there an instruction how to profile it? = Thanks ---------- Best regards, Dmitrii Derepko. @xepozz > On Feb 1, 2025, at 1:04=E2=80=AFAM, Ilija Tovilo = wrote: >=20 > Hi Dmitrii >=20 > On Fri, Jan 31, 2025 at 3:10=E2=80=AFPM Dmitry Derepko = wrote: >>=20 >> I=E2=80=99m looking for way to gain some Karma to create an RFC. >> I=E2=80=99ve already made first implementation and shared it: = https://github.com/php/php-src/pull/17647 >>=20 >> I can make 3 different RFC to discuss each change separately, let me = know if it=E2=80=99s necessary. >=20 > RFC karma was granted. Good luck! >=20 > Note that I believe we should solve the technical issues mentioned on > the PR before voting on this RFC. They are very much non-trivial to > solve (I have tried multiple solutions over the years, all of which so > far were complex or otherwise unsatisfactory). But I would be ready to > investigate further, given that my long-standing RFC for match-blocks > [1] is also affected, at least in an unrestricted form. >=20 > Ilija >=20 > [1] https://wiki.php.net/rfc/match_blocks --Apple-Mail=_11CB7A0F-A42F-4099-9DFE-E9FA63B93014 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thank you, = Ilija. I really appreciate it.

Could you please advise do I need = to create RFC or it=E2=80=99s better do to it after solving technical = issues?

If so, one common RFC or each for each operator: return, = break, continue?

I=E2=80=99d also like to see all this problems = by myself and I have a question. Is it possible to run php and add = breakpoints somewhere at the parser and any other places? Is there an = instruction how to profile it?  Thanks

----------

Best regards,
Dmitrii = Derepko.
@xepozz



On Feb 1, 2025, at 1:04=E2=80=AFAM= , Ilija Tovilo <tovilo.ilija@gmail.com> wrote:

Hi Dmitrii

On Fri, = Jan 31, 2025 at 3:10=E2=80=AFPM Dmitry Derepko <xepozzd@gmail.com> = wrote:

I=E2=80=99m looking for way to = gain some Karma to create an RFC.
I=E2=80=99ve already made first = implementation and shared it: = https://github.com/php/php-src/pull/17647

I can make 3 different = RFC to discuss each change separately, let me know if it=E2=80=99s = necessary.

RFC karma was granted. Good = luck!

Note that I believe we should solve the technical issues = mentioned on
the PR before voting on this RFC. They are very much = non-trivial to
solve (I have tried multiple solutions over the years, = all of which so
far were complex or otherwise unsatisfactory). But I = would be ready to
investigate further, given that my long-standing = RFC for match-blocks
[1] is also affected, at least in an = unrestricted form.

Ilija

[1] = https://wiki.php.net/rfc/match_blocks
= --Apple-Mail=_11CB7A0F-A42F-4099-9DFE-E9FA63B93014--