Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80404 invoked from network); 5 Nov 2014 05:35:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 05:35:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=fail; sender-id=fail Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=fail Received-SPF: fail (pb1.pair.com: domain lerdorf.com does not designate 209.85.216.48 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.48 mail-qa0-f48.google.com Received: from [209.85.216.48] ([209.85.216.48:55627] helo=mail-qa0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/D0-07533-C07B9545 for ; Wed, 05 Nov 2014 00:35:10 -0500 Received: by mail-qa0-f48.google.com with SMTP id x12so27213qac.7 for ; Tue, 04 Nov 2014 21:35:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=cHceGS1qhRDjXCimIv3RonZ2jkPjw+ACe+bOa/idxCI=; b=lOKdyKVD3H1LOiEX39fLyOZlq/m2Zgy7OA6XRFUSwLvWSfxLj1qiKWhqR1n3KAG0Gl LzXg88SVQIbMLIAAa1j/teEg8RFbTbrHfSbk+HZhoLgBzriu+OPZpNc7OwB/gLbxHrGB egYAjcqm/i8f5sFu8C1UQKNdq9D+F4debl2WtafJYXLc8gcBWs8ApV5z4FXwVSHhX8tE W/x0TmYfKrOcntgI4NHAWnQ9r6i1bDVu96VyqEAszZpv+xZp8ZX8WeS1XspoetRVe99y dmwNncbkveTEShWLwoCS+i5t8me8O9MTsBhGU+WmkXFRq8i6B6GdMpJV+0NYVJ4y0ew5 RAkQ== X-Gm-Message-State: ALoCoQkWI9kxQMks7VVeuNkDZKfuYm+sBmw42JNtiyNCePTEnTl6zG0kTVOinYY2D8SDDlcDR/PU X-Received: by 10.140.43.6 with SMTP id d6mr77659573qga.104.1415165706011; Tue, 04 Nov 2014 21:35:06 -0800 (PST) Received: from [192.168.200.14] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id q8sm2328515qai.44.2014.11.04.21.35.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Nov 2014 21:35:05 -0800 (PST) Message-ID: <5459B707.4000608@lerdorf.com> Date: Tue, 04 Nov 2014 21:35:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Dmitry Stogov CC: PHP internals References: <54527117.6000402@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: opcache.revalidate_freq is PHP_INI_ALL? From: rasmus@lerdorf.com (Rasmus Lerdorf) On 11/04/2014 06:33 PM, Dmitry Stogov wrote: > Hi Rasmus, > > Sorry for delay, I'm just back to work after ZendCon and holidays. > > opcache.revalidate_freq is PHP_INI_ALL on purpose. > Scripts that generate and include the same file again and again should > set it to 0 to check for modification on each include. > > I didn't get what did you meant by "but it doesn't make any difference > at that poin", but I see that this re-validate logic may be implemented > improperly. Can you please check, if the following patch fixes the problem. > > https://gist.github.com/dstogov/a7d3e136c6e857ff02b5 Aha, yes, now it works. Before your patch it looked like it was ignoring the locally-configured setting. -Rasmus