Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81344 invoked by uid 1010); 3 Aug 2007 13:40:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81329 invoked from network); 3 Aug 2007 13:40:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2007 13:40:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:8330] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/54-32246-94033B64 for ; Fri, 03 Aug 2007 09:40:29 -0400 Received: (qmail 20055 invoked from network); 3 Aug 2007 13:40:21 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 3 Aug 2007 13:40:21 -0000 Message-ID: <46B33043.2010102@zend.com> Date: Fri, 03 Aug 2007 17:40:19 +0400 User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Uwe Schindler CC: 'PHP Internals' References: <87E4F8AF-06DE-4FCC-AD1B-83E932A5E180@prohost.org> <000201c7d598$14f53cf0$0201a8c0@VEGA> <46B2E92A.40303@zend.com> <000001c7d5ae$1534b4f0$4cf96686@VEGA> <46B2F4D0.4070003@zend.com> <000101c7d5b6$233cf4b0$4cf96686@VEGA> <46B302AF.2060007@zend.com> <000001c7d5bb$d01eab60$4cf96686@VEGA> <46B309E5.10401@zend.com> <000401c7d5c6$71b22650$4cf96686@VEGA> <46B32A41.4000409@zend.com> <000101c7d5d2$467f1310$4cf96686@VEGA> In-Reply-To: <000101c7d5d2$467f1310$4cf96686@VEGA> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 5.2.4RC1 Released From: antony@zend.com (Antony Dovgal) On 03.08.2007 17:29, Uwe Schindler wrote: > I reopened the original bug reported that lead to your change. > > At the moment I am trying to fix that. I moved your code a few lines down in > zend_alter_ini_entry but until now with no success. No, that won't work I guess. At the moment I can only think of a special hashtable storing all the values that were set during the INI_SYSTEM stage, so that users could not override them in their scripts. > I suppose there is something special with error reporting that corrupts it. That special thing is in your config file =) > It seems that it does not like it to be changed to ZEND_INI_SYSTEM because > the @operator tries to change the value (e.g. in zend_vm_execute.h), which > fails silently: This's a special case and it's really great you noticed it in RC.. We need a workaround for this special case, as if we make all INI directives set using php_admin_value non-changeable, we break the @ thing. So we either need to change the @ not to use zend_alter_ini_entry, or make an exception in that function, which I believe would be a hack. -- Wbr, Antony Dovgal