Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124729 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 090A21A00B7 for ; Fri, 2 Aug 2024 22:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722639012; bh=BioKOVoK64Ow/D0HbXJq/DuiYdO67IPhBkPCYVlanv8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=IFh6OH9UpZ4Y7tCpYfreoLMtCAceQVAChn5GFnxE5GzEoH4jehz+52glFGYHBmwe4 0/pCt3/QZYRi7iCeu5l2GqUde2v9b+pHhJ9gcxddbRO4Dgs+tVAt22/SmPpU/GaT/m +s3L4A6RW0TJQ0MY4RvAeZ1u3YwVWCezFcD2on3Ba7KhzvZgkukS2mZSY3G2ZupNsl ZKGCnhR3jcX6sMCSkJvjEO7dTbjtgNk/OiJE0LEgZT1NnVihYf7hb2aSEiMSGWmGTw JVxE7kNu8dk8KoKgZL3Zh3eILsF92icNcHJe6xOHOPlHNJykwpF2EMUaT3R/ly4mZE /Sax4bjQVtNAw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C066E18005C for ; Fri, 2 Aug 2024 22:50:11 +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_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 2 Aug 2024 22:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722638907; x=1723243707; i=cmbecker69@gmx.de; bh=VZcb6veWeXl38QV9msz+Y/fAOTUY2uPY63vtG2KEcBc=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=GnY6uKlEKSLThZxT7hDoiJi+g1tl5uw2pRL9xf2aHvDMaOGwzLXpwJosyt5K6DZw 7TCfe9jIwY0eWqUALAAttMomesUb9GP2YKkJr+GheHVK19xjowiulfUuXwJY6RfJM ddX/4rpYTKAgJyRJhIYlkEJxyzV8Ap+iL5HGSPSBcCBxQLGlR35pIG+bYN4/cQyLx ifdgAu9+XaAl5E3ROMtMyu3s1kn/RWLzCnuyHlFDnu6D0jnVIKNFTG7bFWi98xHJ2 eHU5B3xhZQURhNBeX1SBGNtxR54FQGdrs8Uvxslka0t70CVNcUXzewmhjs2CtjI8B VhtUXPUkpUw3n16P7g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mgeo8-1s25QN2Exg-00kKws; Sat, 03 Aug 2024 00:48:27 +0200 Message-ID: <04ed77db-ab7c-40a3-8b08-8cfa8ecce1da@gmx.de> Date: Sat, 3 Aug 2024 00:48:27 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [Concept] Flip relative function lookup order(global, then local) Content-Language: de-DE To: Nick Lockheart , internals@lists.php.net References: <48c22449-6cdf-449f-917f-365506e3f2d0@scriptfusion.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:IfEf393MXBWyfPewmFnjPtn9GoFxH1KVAf407ISZoZ6XOBKSHh/ rfBYFMCcpotgyYO/FG9qLVihvbRcNDpR6GyMMSiYa6h1Nb74PNg5Movk+AqVQIsQSH3qxyg PqJzkQiFa5/l3unBPoJgQgANBUJSJ1ai5NBKGAbiVJPGmEqRBo+t9JV/e/dYZqyOMLo8tRU 2b5ZR1nnuQosp8AtDMjbg== UI-OutboundReport: notjunk:1;M01:P0:08nSiBojhrw=;zGUDbN66CrBdKv4BMt2JebcmaXV WEX6RFd4tFzPUhZrhy/XTn3/GZNJe75B/2v5ZY8LZM8Lg6pngxhJP+O80KluBPZjsAjU9WGAT V/XgOqU4LUPmtUYCcUZ/++PVCHQEv5FDDUxhouECZt+ll+5mWIQz1tRybkYL5wpOTrtqVrQsJ VFkrvxS2cQqfLowwWdO6IiiwmnNBA5sFh+BCtKOdyNcFSujhftXGE5dV2iBMhWVgM1F9LBi3O jRpxeMhLHNJDpQC8k1uBo4RsTX0k1l9I52R8JahdHEyfCrC3STxHpar3jkuX6FFfy9PNeMKGO kb35y8Lug4ZpGUhK6sDq+1wb9tKFpTeXgvn8hSaCLE/86UqlPTC2RzMbDB7EmhfInTMG2AeAw n+inJih54Ga02VBZvB5TCd5uie/g0zyQh9keISdjU4DPFZ9w5Q3efgwognTIJQ3ETfeRjKsZ2 nKw2n8T5AlOK4iNkq6fbH396Y2+6sBU+LgeLw5oRXN5zKvgVMMXenZt9EFH0jVgs4NYwQoPeI +r2vAyHHdk8NGtVtcva1fhpe8q5eWJbAtnTeUpXyWd1GTlqvbVN8lUMSDB7fixaz1+kLWf/Vo WkJ3QaTBXaE09zBOn1D7TRT0fXF4Og1tWiBClckJvso5eAdLgX9cRlr1iKg3NexAOEfQi2Kx6 erylIkcLoymXD5ivTznXPKznczvQyZKHgQu03aNHXhNbKCCkBI6r8NvHrjBBM3kPBMyx2f83l B9WIKvnN+dfbkojzbR4SgSTT+LelKYsPXKvXTdt1+dtvFYuRR0hz/od7lbbYXmi3N3eXg928A IGkaM4wApsTu9kHvhtC97gt+hDKtWdoZ40OPpKgkjMnRI= From: cmbecker69@gmx.de ("Christoph M. Becker") On 03.08.2024 at 00:00, Nick Lockheart wrote: > I think some kind of sandboxing tools would be useful for > build/test/deployment. There are uopz[1] and runkit7[2] available on PECL which can be used to unit-test untestable code (and more), but you are likely better off to refactor such code sooner than possible, since such extensions may easily break for new minor PHP versions (and occasionally, such breaks may not be fixable at all[3]), and often are completely broken for new major PHP versions (uopz got a completely different API for PHP 7, and runkit was even provided as new extension named runkit7). And maintainig such extensions is a PITA[4], and as such, compatibility with new PHP versions may not be available when you need it. [1] [2] [3] [4] Cheers, Christoph