Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72210 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42167 invoked from network); 4 Feb 2014 20:57:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2014 20:57:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:65509] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/F2-13782-84451F25 for ; Tue, 04 Feb 2014 15:57:44 -0500 Received: by mail-we0-f170.google.com with SMTP id w62so4804535wes.29 for ; Tue, 04 Feb 2014 12:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=L/umXSDv5e2FiDLmm767q3VRngkydOKy0Xky2MJAhy4=; b=cZswFfHeLnbG8cwsseLy6itoWPRnwB3AyiHzzyDgtWGc7pCQFCgCx3TXHyS+5RrlBo 9KM6q3ONWWBFI59fnl3X83fwveESmEgK2FmTaLA/6mJ2jzbC+KqBSiiA9iCHO6KuzVM4 nZf9UoP73sTyVpcwEQWQo6Mu16BkuHRlKGyTPe0EGYiJQS16JEsBQqtYoKbeyP0zEtwo jPhLpwUBuDAhoFCsLgTEuhkEZNBBWFTqm7OcgLSnyPQi5EOlEa7PqC0nmZ/4Nd4umxpv lfZKONkg9RBmUoE69Jjyp3TEvx4S+Q1aO9sBVhi3dT9JNFLkrwubyQPa6xfsA8AAdVNN b9nw== X-Received: by 10.195.13.17 with SMTP id eu17mr30013831wjd.24.1391547461624; Tue, 04 Feb 2014 12:57:41 -0800 (PST) Received: from [192.168.0.2] (cpc19-brig17-2-0-cust25.3-3.cable.virginm.net. [81.101.201.26]) by mx.google.com with ESMTPSA id ci4sm55705560wjc.21.2014.02.04.12.57.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 12:57:40 -0800 (PST) Message-ID: <52F1543F.4010805@gmail.com> Date: Tue, 04 Feb 2014 20:57:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <52EE2B1D.7000307@pthreads.org> <52EEA7BE.4050500@sugarcrm.com> <52EEF636.7010505@pthreads.org> <52EF5588.6010902@sugarcrm.com> <52F01109.3020705@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: expectations/assertions From: rowan.collins@gmail.com (Rowan Collins) On 04/02/2014 05:36, Dmitry Stogov wrote: >> >BTW, current patch has zend.assertions as INI_SYSTEM, which means the >> >whole server can either have assertions on or off. > It's INI_SYSTEM on purpose. zend.assertions is a 3 way switch that may > disable code generation for assert(). > Changing it after PHP files are already cached won't make any effect. > > Incidentally, if this is true, the introduction in the RFC is incorrect, as it currently states: > assertions can therefore be disabled and enabled via the PHP_INI_ALL configuration setting zend.assertions The explanation of *why* it would be INI_SYSTEM could also be added there. -- Rowan Collins [IMSoP]