Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124155 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 00A481A009C for ; Mon, 1 Jul 2024 17:59:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719856855; bh=wArm+1rRR2TtwO59JjnItEbneFXv91YPwLKenVxWX3o=; h=In-Reply-To:References:Date:From:To:Subject:From; b=E9vLL0InYWp+N867+Rio/3+pO0FT/0CJZ8Vj3tKaQCfArGMctOO8PDN0mdSiOtI3K rKqfVc7HOBu4y7hBIFdctvOabxCJ9nzSmhpIzU22l0eGxcfBotUaAUV2BJTJFOwT33 Ge1hlM+c194NrdMjh58aLuR/sxUG3Axc62MrmFC4/YnU2668gXJPX2y67c0aC9fYAd jNk0pwXXH+A8GsOOSPuMLEAWoMW3XsoBwTnRyC6WF7SBV80zCr4eqZ9QRJ0oQj/hOh Dz3NDugYgvasVG88BiO+tpmx9LWngkQSPgvKT0WPMz5HuUaCxFIS2Ee0H7xHSD7e9q fSxf2ENh3aqGQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7F47E180770 for ; Mon, 1 Jul 2024 18:00:54 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE,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 wfhigh2-smtp.messagingengine.com (wfhigh2-smtp.messagingengine.com [64.147.123.153]) (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, 1 Jul 2024 18:00:53 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id 2A0B31800080 for ; Mon, 1 Jul 2024 13:59:32 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Mon, 01 Jul 2024 13:59:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1719856771; x= 1719943171; bh=SNDMtJKNtz9eTiRqHdGJo1t5bJ5QnXeQmsOB98HmThQ=; b=c XMweg9sbi2UsTlj1qN/KdMxYfIJ31IX9J2XGYlReGJLsKU/pQ6hMBRE6vieIYj47 HMu4aoUbPhnO1xGewMR2vdjfrTFBUdWJiF3TKPfUNIXDbW7fe7eZCVD7+mr1A95u C9eES5eTAhfC9pURqqAN5vqB0A6LeDmeObEBDUmboSsbZw3UGQ5Cz9GVny9N8Xu1 i3kpTyEdmyjZdgP13b/mc7N0KHI3cIiek4fElal/aGUKMHtlezBngeRsO/ntLSqZ Jcb59QjFbXhucdGrbUeaHesnBGRkm5ZQOLmiO7w9EtwZX53+nGa3DJqyVhYgknHs aP2YFHsflx7KdiEl7+MJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1719856771; x=1719943171; bh=SNDMtJKNtz9eTiRqHdGJo1t5bJ5Q nXeQmsOB98HmThQ=; b=Ru0BrDwMAa1lZ/zJztNs9XkcOiuwg3UKMBcVgZnw+N0W 8FRKYTovIyDE+YL7ZeEYGlMd1Jp8b06CCO7XBDcE4BFbYPrDSI/ltxHsEkJzCv+s C1cbZBjeUMRQeUc7iY5e79mUGWLXxUQ6YWlH6IdTpupgAmIPqGw1NYZ1PuIr3G/g Ml0c91n/ccMDcwnWKKbEC8uI8gBnneoVHBYrhWOyg/QIb8Xna9iC7VzuYZmPYDhQ x+x6EmIDiZlR0LB9O25BYmKEGM+0avDUcYfCQL2Nnbw/xfuD7YK+41JiUYdC1sr6 o65VFAwBd335FqXRhzOUgGZgc+4ev2dK95IFjSN0ZQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeglefgkeduiedvvdetffeujefftdfhjeeiveehgfff keduveektddvledvvdfffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5EB491700093; Mon, 1 Jul 2024 13:59:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-566-g3812ddbbc-fm-20240627.001-g3812ddbb Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: In-Reply-To: References: Date: Mon, 01 Jul 2024 17:59:09 +0000 To: "php internals" Subject: Re: [PHP-DEV] [RFC] Property Hook improvements Content-Type: text/plain From: larry@garfieldtech.com ("Larry Garfield") On Mon, Jul 1, 2024, at 5:28 PM, Lynn wrote: > "A side effect of that optimization, however, is that we cannot > proactively detect the bug above. Instead, it would result in an > infinite loop, which would eventually trigger a a stack overflow." > > This got a small typo ("a a" at the end). Fixed, thanks. > This reads no different to me > than infinite recursion between 2 methods. It honestly does not bother > me, and any static analysis tool will be able to pick this anyway. > Sounds like a free performance gain to me! Yep, it would be exactly 2 method recursion, and the engine would naturally treat it as such. --Larry Garfield