Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128308 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 80D261A00BC for ; Tue, 29 Jul 2025 19:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753818139; bh=JidEMK1g74eXkB0CB8vrcU3NN+q7foQ9LVsuQaXjMUE=; h=Date:From:To:In-Reply-To:References:Subject:From; b=DW8Ofo6UyeGomKbkGgvSq4MxT9IRsUSsizm8eWG1hoNp9RJFxNQnyZl6yAuXSvode jjnLlcvazVV6ivbzc9M6pOW9auUxkcmP2+RTcpFx+J92UtA0ddKcQgTfPNaxs+dhje ZDgxDpvdEHoRe7ZBZ0dRzqa3I2q1Dvv1Ofm7PqMAEtl6EaVAy5ssBex9T0o72W++uC adYn4A/CbgYKTM5hwVyKg45pTYCnMfFgKyW5yC15Q0PKSjFL1oqV+exOjyOVZsGL5V PkczVEKunqaeL7GCnjP+QtkVVurhv70mbPNdip0dlHmW+RnOWbdLGiGDPEYMAdvH9V xMHMQtOlbOeMg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D57DB180079 for ; Tue, 29 Jul 2025 19:42:18 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (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 ; Tue, 29 Jul 2025 19:42:18 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id 8787E7A05EA for ; Tue, 29 Jul 2025 15:44:00 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Tue, 29 Jul 2025 15:44:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding: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=fm3; t=1753818240; x=1753904640; bh=5TsEki49epNbg4MvkEeQh qm6Hds35c0vaCnLo/rAh8U=; b=nnmhRjmJbTLoncR8F40h9qUuHCGWHpca+LA7n 794EeLUaG20/sRoXWzlvjFBW3F8nf+kxuq09d2IRZhwZWGkRIJyeYaei9X0+YTso 7FPcrN9mwy7Yt+rs/OYbg7NIsZAOxuoQeg3qqC/MrF6XE9ek+WtAzAZ/Fdfs0Ckb Mv8eJuYvgNbqozZXr4RBm8R3rzAuQvriehE71P3qJBH0vb4NKXKVUuMk8kepH6c8 mT1DmCskic+sY4FNqZkQPwwLAxmEFWJDpoPVNUjG5+vjZ02947r9PGfrdie4sOPT vJfQHjBtWmGzlNa1wErgOUvaFSp77HIN0Ytbuzl1+KaCHAPeg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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-sender :x-me-sender:x-sasl-enc; s=fm3; t=1753818240; x=1753904640; bh=5 TsEki49epNbg4MvkEeQhqm6Hds35c0vaCnLo/rAh8U=; b=WtTlKKs1a65T2+HpR VvCVOnFXpGkkup+98wEeeFiEKwz/+wKG+G1HPkqXaAjGKH7D8f9W3izjsB/sYrQo Fba1j2PoORvyl6vc+5gb4YFwLJbi21DxwXpneK3B+GFTcL0/ngeRV4Bj7scghrAP QZ1jD00YrYNhgJTDFb7FL0lBk22b/YpprCB1NUBPcTzV3gK/eEJgg1FeK2cqjY/v 6NNS/Q4CT0Bkh80ZUOgD6Sd4tSPG+io43rNjMhckUEdRF03W2fNQAZ61J27r4Sbp Sa9K+kmU1zYi6bV5khu1S0XnTRsUsPlP+i5lUbOnoa/F3ukM1113isyHEF7eASIg QBvpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdelheelvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfnfgrrhhrhicu ifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomheqne cuggftrfgrthhtvghrnhepudegvdelgfeugeehfeejteffudevleethfefgeejffffleeg tddtveekgeekudfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphht thhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhsse hlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id F2F11700068; Tue, 29 Jul 2025 15:43:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: T4f89d8b0d22bc674 Date: Tue, 29 Jul 2025 14:43:39 -0500 To: "php internals" Message-ID: In-Reply-To: <1753807300279.3679674018.1291915422@yahoo.de> References: <46e0c98a-2003-442c-9f8f-16c8fa0476f0@app.fastmail.com> <1753807300279.3679674018.1291915422@yahoo.de> Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Tue, Jul 29, 2025, at 2:22 PM, Hans Krentel wrote: > On Monday 14 July 2025 15:29:31 (+02:00), Larry Garfield wrote: >> Is their use for quick hacky scripts worth the cost of reserving a symbol that could be repurposed for something else more generally useful in the future? (Not immediately of course, but eventually.) >> >> --Larry Garfield *snip* > My educated guess is that I don't need to explain the benefits of > _template literals_ over ordinary PHP string literals for Larry, but > for those who are curious, this is inspired by EcmaScript and you can > try it out in your browser or read on MDN about it. Indeed, that's the sort of future reuse I was thinking of as well. But having this be a template: $foo = tpl`Something $here`; But this run a shell command: $foo = `Something $here`; Strikes me as a security nightmare waiting to happen. --Larry Garfield