Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72242 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44194 invoked from network); 5 Feb 2014 06:53:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 06:53:46 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 74.125.82.178 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 74.125.82.178 mail-we0-f178.google.com Received: from [74.125.82.178] ([74.125.82.178:46573] helo=mail-we0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/81-22810-7FFD1F25 for ; Wed, 05 Feb 2014 01:53:44 -0500 Received: by mail-we0-f178.google.com with SMTP id q59so5109552wes.9 for ; Tue, 04 Feb 2014 22:53:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=pOsOyS93Li43iH9w+/A9r/espj63t5DksOY1fMKPSXE=; b=GWikAL7sAK6EiZBZxz8N7rukwBVn/MaSgDlze/9myLo6GOkPoDSYGBpt88GUhdGoE5 PWpyrvqygP/0Lz5npRdqoPCjbzoXFF4/v4+xAklHkWAVRmb8HxIRHLBO8LAPbVIzMm5e PHaHkIGZd7mOh9tPoRGpWFFZuNJDk7NWreZNPKr2PVUkkNy8UuuPe+2sK88Z4xVCE5EO V1oMdciiO0oYnG/RaUvOwoXc9JO6seoVyk6PCOYnTM0lTLrRVweDZcjiGzVEarMH4I4s hc4zs4laTkwadoMYYx46WOBEdWM6avscT95VfUzthvukIwMxrJS/s7xlmtqCjlZ1qWYB gfHw== X-Gm-Message-State: ALoCoQlbGnFPhZ1RcsmTe0yAk7CNciAJEtHjzEsUslNHWXjddNvmoN47OM4Ygxtv6YWTDK25Vad1q2J+ffkwYkCSn+KMCtX4o6LqCU4m1N+EZarfhrGZu9RHNJxmWuoJoBxTGv8yCwAZ MIME-Version: 1.0 X-Received: by 10.180.189.169 with SMTP id gj9mr15720046wic.17.1391583219885; Tue, 04 Feb 2014 22:53:39 -0800 (PST) Received: by 10.227.91.196 with HTTP; Tue, 4 Feb 2014 22:53:39 -0800 (PST) In-Reply-To: <52F1543F.4010805@gmail.com> References: <52EE2B1D.7000307@pthreads.org> <52EEA7BE.4050500@sugarcrm.com> <52EEF636.7010505@pthreads.org> <52EF5588.6010902@sugarcrm.com> <52F01109.3020705@sugarcrm.com> <52F1543F.4010805@gmail.com> Date: Wed, 5 Feb 2014 10:53:39 +0400 Message-ID: To: Rowan Collins Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11c34a627f402a04f1a33766 Subject: Re: [PHP-DEV] RFC: expectations/assertions From: dmitry@zend.com (Dmitry Stogov) --001a11c34a627f402a04f1a33766 Content-Type: text/plain; charset=UTF-8 It's INI_SYSTEM because it may affect the compiled code that might be cached. So changing it on second request won't affect already cache code. Thanks. Dmitry. On Wed, Feb 5, 2014 at 12:57 AM, Rowan Collins wrote: > 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] > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a11c34a627f402a04f1a33766--