Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126369 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 9F4241A00BC for ; Mon, 10 Feb 2025 22:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1739225532; bh=pC+P+1+Wl6GRb8W5bhXHkLH+o7rNvhjChovkd5hnhyw=; h=Date:From:To:In-Reply-To:References:Subject:From; b=LZDLr9L2/lB1KKcJWz+8g68Lzyn2QNqKVyArBVJOopMNxoyD+KTm/kSHt+bUScqno 7ckQxkjVNiKZ8HWE3dIo5w4DxTXsFMIkhe0sHiKU+GI0Om24YwDeA6pnIBPIB+zv9V Ba5rPlVRjQGx5p8vqbzfvJjmzmAUb1BDX+8fAxomZ7sLUO5fYyOOIDytieNl82J9Lr iOIFh0Ck3W8tR2DprtG+UR7423bwtjnfq2e9x3xqRE1Gf4/TRAs7oBSnToFbpERQXo xuqUaCJC8Tv15z51vb87NybnytXu5pxbVdChRlQEmur87OvRp7tpwwVIlGYtuddq7z O5eKgQl1l9ItA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EC075180048 for ; Mon, 10 Feb 2025 22:12:10 +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=-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.0 X-Spam-Virus: No X-Envelope-From: Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) (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, 10 Feb 2025 22:12:10 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id E279313801E4 for ; Mon, 10 Feb 2025 17:14:53 -0500 (EST) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Mon, 10 Feb 2025 17:14:53 -0500 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=1739225693; x=1739312093; bh=8E6e1J9N5vK4FqUYPR+ri OlYNadtpzztpHvEtBevkG4=; b=FAWuF1NGulVZ9JuMiXuLy+ZbuehLAdQiNzdbn 0y8AcAukRHKIKXckZHjlSUaGRrla1wuFv0b+33/WRgqTnsr0sr6Mur9UP57+tI+4 fiq+0apz3mAHa8x4gtWXxlbcF8AmKsf9FrDTyl9ZlSXCqbgHct73oOvGpvzR5R+B F22ToaK/xMJDgMr5B3R2Ikt1LbFkC2WneVmmwfZer0clAxi6tzre/xUZdnO8B923 rzzHWcf/uJp/1IvEBof41gTaI4rLKj+Jvd3opeV0lK9IHvdpwUEqakZMoPTvIK9Z cQa59MJqmB86cYT5CuDho5QGOM8ZsZOgPzNO2gJofmno0yoHA== 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=1739225693; x=1739312093; bh=8 E6e1J9N5vK4FqUYPR+riOlYNadtpzztpHvEtBevkG4=; b=ALRJuAIRLneYtOZT6 SLmHIytZBf4dyHjEw0Bau5iJjFfH0jkV4SdEywu7hjloGeoClVXBvalK+R/B7uPY 3m7WgyVvTma5LjgPpqE/GkzeK50HrI4/7A+5XF3Ay7xLQilqfpLW2kDiINR90o9u 0KmPr0ojQ6E7YPp86dsWt0emdc+GSk1rhcUij0KKVDidUrFeSBR6CrG68tDLOITm xmEwaFOsc3+pNioLB741EClu6CPQ5P0riIQIFzDh25NNKYfiqtA20QVZ9kovA2A4 t0bJFb91J5g0h4yo23nVgpHp6FyXrDQbg9VhAPyPTgS9NCFgwvr+hRXpVd8KITU9 UlTLw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefledviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfh hivghlughtvggthhdrtghomheqnecuggftrfgrthhtvghrnhepueehjeduleetleeiheel leelkedvtdfgtedtgefhgfeghedvjeegjeefffeuhfdvnecuffhomhgrihhnpehgihhthh husgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomhdpnhgspghrtghpthhtoh epuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhi shhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 6A22F29C006F; Mon, 10 Feb 2025 17:14:53 -0500 (EST) 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 Date: Mon, 10 Feb 2025 16:14:33 -0600 To: "php internals" Message-ID: <5478e83c-e2ca-44e1-a93d-43a559cbe0be@app.fastmail.com> In-Reply-To: <298861df-b65f-4708-8a26-a377fd69e319@gmail.com> References: <298861df-b65f-4708-8a26-a377fd69e319@gmail.com> Subject: Re: [PHP-DEV] CLI/CGI -z command line options is broken Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Mon, Feb 10, 2025, at 3:24 PM, Niels Dossche wrote: > Hi internals > > We received a bug report (https://github.com/php/php-src/issues/17740) > that the `-z` command line option for CLI/CGI doesn't actually work. > This option is supposed to load a zend extension using a command line > argument. > However, it turns out that the extension doesn't actually load: PHP > will claim that the extension's loaded (in some places), but in reality > it never loaded properly. > I did an analysis of why this is happening in that GitHub thread, and a > clean solution isn't straight-forward. > Christoph figured out that this option has been broken since at least > PHP 5.5, a long time. > As passing `-d zend_extension=foo` on the command line is already a > suitable replacement, we'd like to just remove the `-z` option in PHP > 8.5 instead of fixing it. > > Are there any objections against this? Please let us know. > > Kind regards > Niels Seems reasonable to me. Perhaps update the -d help text accordingly, if needed? --Larry Garfield