Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110440 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 6205 invoked from network); 9 Jun 2020 08:44:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Jun 2020 08:44:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6CDCD1804C7 for ; Tue, 9 Jun 2020 00:28:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 9 Jun 2020 00:28:17 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id c17so23694618lji.11 for ; Tue, 09 Jun 2020 00:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gtEYA54rw4dpH6/HTs3HJARLNuxgWyFCAAhmRYrRQeg=; b=Aw6wD/k9EZgUeq99Eujo2vtB2HQmpVL2KMQg0VosI/OnUi99QfvIkrbau0mNwu1yQT Xctm/dw9qLBHcxrfTcmwmv2MU87dbi6INC9cWWyxVyUKRvYqxVH33aMQhWv4t1dDrUI0 2UoaklYz22U2G7i2qf5j13zwMpM9vNVgwqQi1+XEvFYRV33n+67dUfuCsAohnD6cl2Lt PHlMktEWxy1yvtanM/waVuGhhDBnsDYrjloqUL5Uw4EbEe62OG/6KynwawdUaREdQWnt 0VM4WN+8rTHHyGKkaLn8L8BovCjSlQWuHsHAppax8x70EJQrRv8aC9UzP7108tWThs1J Ym6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gtEYA54rw4dpH6/HTs3HJARLNuxgWyFCAAhmRYrRQeg=; b=Rz769UMmUz5QbboGG1oatiXPkqoIpzXbI0FVNRds6SdZCHyvKf7Dii2q2kTYvFOw2y GT5hWyguarHHeP0gS2TBqIz91GPkL7M2pxttiYyuaLiVU8y6ADVNSkCS+9sr9XKMytFl c46NYXhRWbQC1BMFrAl4XtFv0zaIhlQ8Ltw0mj8SG3+V+vwRfkF7CWmutXY5P10sU+8G sOYefcOHMG9TK0RZai1kPSS2Tb0AGdtB8TOwB30HF8YKKEvL8gy/9rB4Y1rc4CxmuTZr tFAxXQSMzrj21nymued7hrbH+LsZ3nUSdznW7XzNcXfKsVoL3FAAywvcaLtbF8IpAkvv vq5w== X-Gm-Message-State: AOAM533od7MsQEByUX8RJ7jrQW3DWIFzGnHQiQx8dlI6kM3oZaa95eee BtzIEg/kAD/g5giakcrmG25QLHn5/FiaUvwGq9c= X-Google-Smtp-Source: ABdhPJzoH6LlVFnS+PkZrUdg6oL3DAuxfEzMtxes2oyhXrrNxbfFHNZznvs10gPHgJw6X+AjKOxQdr78njgLBZaeGsA= X-Received: by 2002:a2e:2a84:: with SMTP id q126mr13429574ljq.42.1591687694218; Tue, 09 Jun 2020 00:28:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 9 Jun 2020 09:27:58 +0200 Message-ID: To: Enrico Zimuel Cc: PHP internals , Benjamin Eberlei , Levi Morrison Content-Type: multipart/alternative; boundary="0000000000009b7c3605a7a1ab36" Subject: Re: [PHP-DEV] RFC karma From: nikita.ppv@gmail.com (Nikita Popov) --0000000000009b7c3605a7a1ab36 Content-Type: text/plain; charset="UTF-8" On Tue, Jun 9, 2020 at 9:17 AM Enrico Zimuel wrote: > Hi Internals, > > I'd like to propose an RFC for overriding internal and userland functions. > > The idea came while working on an Application Performance Monitoring (APM) > agent for PHP, where I needed to intercept execution code to provide > additional information such as execution time. I wrote an extension for > that but I think this feature will be very helpful if present in the PHP > core. Apart from APM needs, other use cases like Aspect Oriented > Programming (AOP) such as Go! AOP PHP (https://github.com/goaop/framework) > will benefit from it. > > My wiki account is ezimuel. > > Thanks! > > Best Regards, > Enrico Zimuel > You'll likely want to talk to Benjamin and Levi first (both CC'ed), who are also interested in improvements in this space. See also https://github.com/php/php-src/pull/5582. Nikita --0000000000009b7c3605a7a1ab36--