Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115170 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 76206 invoked from network); 28 Jun 2021 12:34:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jun 2021 12:34:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 410641804D9 for ; Mon, 28 Jun 2021 05:54:32 -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-Virus: No X-Envelope-From: Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 ; Mon, 28 Jun 2021 05:54:31 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id d13so25519050ljg.12 for ; Mon, 28 Jun 2021 05:54:31 -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; bh=EX5LWdTjOUTcovre4Z0Ko9SpWuwzCusUkQN0ChNPgjk=; b=LU5cEH6DUNYmOVq5QtfJbgTkPIcIXBuHZB9zqDJ0hKn6I94BejtfFqRg/ulS7ACyjK DFlLo/MDrT8DFDaNpC7EEHSwQdiG57z0ALeFozerQOgYI8sUFBSwUgMT3ls9mnNAYrT1 QyiYHg/J8KVl320La7dYOZz5/acEfSMWj0pJNRris3YnCuIxVYkxskwZDNCokJaoJOud 8Cx5wuG0B8vIBQusg7H/iENu12OCpgpX16dsuN13iAqhkrMIa8ZHPrAsebrT8YePXAr7 p08QAGMBVBtQkgzk6fogIJdBLCPrsW3+CWs6e6XSkIVnwfTnUuoW6rckl7n+jZ5D3km8 OMzQ== 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; bh=EX5LWdTjOUTcovre4Z0Ko9SpWuwzCusUkQN0ChNPgjk=; b=bVEeCm/PisRJRzOc1XzDTyASlxUlVRlkznCObWyOmSl+9/PWbb7xNe6XKjFy3CjoCa RS29UA8fPsPcVciY3a7XTazhW6xydClZIv9N2Wemh6+PtY8AXS7Qok9pa3EkzTK8XQRb vc+oT4O8b0A/0GGgFK+NHxfTTs0fh/E159OumAGPZDOKFJuvpR0OlDxHW28baSn0GQ2u 80vaGBbcEExx//DVt7Uo771cuMpk5ifUuDqJ3uGK8XkTv8Al+L/nwpbcMWDCAp0v+6NV fsXSQTAM1ifu0a/X+cvQGgevoTAfXtvHdO8JWkbQHtYn6xseES4cZjiT3K+WmuFfNgeT rdag== X-Gm-Message-State: AOAM532K0GYalnmNuL7yX2yewYuDpzvZBVS4RsSK2V5cJuhwqljXSdhN i0PIzM73ieHa9pdrtc3+Txb17tV5e8nfOsqzxHhYCOe6uE/fLw== X-Google-Smtp-Source: ABdhPJyrpygxOTupfP9j1qtPdO8IdHZjDBA6pJ6KkXi3hlf0VXha5f9KY80pwu4DuJz0bVaMQVfj5PAnnV8bs+BShyk= X-Received: by 2002:a2e:83c5:: with SMTP id s5mr3650015ljh.353.1624884868164; Mon, 28 Jun 2021 05:54:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 28 Jun 2021 14:54:11 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000005e2ef905c5d2fdef" Subject: Re: [RFC] Deprecate ticks From: nikita.ppv@gmail.com (Nikita Popov) --0000000000005e2ef905c5d2fdef Content-Type: text/plain; charset="UTF-8" On Thu, Jun 10, 2021 at 3:21 PM Nikita Popov wrote: > On Tue, May 11, 2021 at 10:52 AM Nikita Popov > wrote: > >> Hi internals, >> >> I'd like to propose the depreciation of the ticks mechanism: >> https://wiki.php.net/rfc/deprecate_ticks >> >> I'm submitting this separately from the PHP 8.1 deprecations RFC, as this >> is a language change, even if not a particularly important one... >> > > To cross post a comment from the PR, in > https://github.com/php/php-src/pull/6967#issuecomment-841344456 someone > mentions that they intercept and rewrite all included files to add > declare(ticks=N) in order to perform memory usage / performance monitoring. > In the same thread someone points out that there is a WordPress proflinig plugin using the same approach: https://github.com/php/php-src/pull/6967#issuecomment-859124223 I think I'm going to withdraw this RFC. Keeping this functionality is not a particularly large burden on us, and some people are getting some use out of it, even if those uses are rather ... adventurous. Regards, Nikita --0000000000005e2ef905c5d2fdef--