Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76341 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89681 invoked from network); 4 Aug 2014 17:44:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2014 17:44:35 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:57783] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/D0-19002-186CFD35 for ; Mon, 04 Aug 2014 13:44:35 -0400 Received: by mail-vc0-f170.google.com with SMTP id lf12so11794315vcb.1 for ; Mon, 04 Aug 2014 10:44:57 -0700 (PDT) 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=qhVOAgStbY3hYZJ+dFuRefwivQ9b4OZMAG1APy9WUvU=; b=QRV4pyq5Yk084X+chVwRN6EntMAhCjBXlNmNM2zrMhr+o9h59hUBg4sxs/xxhYaaS+ kveA22uNV3PB3mxOG8OSlT6q0nXaU7x/BpJvHwDyxiZT36UBtGPgErNSRyNyBCQGpYeE QcqaBfc7giybtrXvdoCfeu3WCl0uMJG71WOHWYMSoRrLAd7sjixzZpY075yvWpJpYubI aLKClpSutinamHVH4WQsuQCeDjLIoeMN49DxK6mcwroRv5S103yBT0fnNn0KhgbvFvG0 qOjZCEXsGlHYZTD1urJuXss/c6b2147qc5/GHO1ZyRHeVuug8H+Brze1hGs5hnuE1g4B 3xCQ== X-Gm-Message-State: ALoCoQkNN+RA0mf2gHO4i4Mqv5lDBoxUywlb+PySk3nB5c3MCYeRUmAj6TcDs5MkOhRE/nBZ7IGQwFkjUm2lgJ4Xb+w29Vop0FY44HSsL6UBrk3TmkUdvYj6ahXmcnxfPFzRViS5pN+r MIME-Version: 1.0 X-Received: by 10.220.95.132 with SMTP id d4mr25296109vcn.33.1407174297760; Mon, 04 Aug 2014 10:44:57 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Mon, 4 Aug 2014 10:44:57 -0700 (PDT) In-Reply-To: <081552A9-049F-4941-BD29-D93E9CEEDC1B@ajf.me> References: <25.82.08559.C1852D35@pb1.pair.com> <21.50.09748.8007AD35@pb1.pair.com> <53DB525A.4030103@free.fr> <081552A9-049F-4941-BD29-D93E9CEEDC1B@ajf.me> Date: Mon, 4 Aug 2014 21:44:57 +0400 Message-ID: To: Andrea Faulds Cc: Pierre Joye , Pascal Chevrel , Laruence , PHP Internals , Zeev Suraski , Nikita Popov Content-Type: multipart/alternative; boundary=089e0158b2f627cc0204ffd14cc4 Subject: Re: [PHP-DEV] Reporting bugs for phpng From: dmitry@zend.com (Dmitry Stogov) --089e0158b2f627cc0204ffd14cc4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We can disable immutable arrays when opcache not loaded or disabled. But it's going to be difficult to disable them when script can't fit into SHM, because at the moment of compilation (or optimization) we don't know the final required size. Thanks. Dmitry. On Mon, Aug 4, 2014 at 9:26 PM, Andrea Faulds wrote: > > On 4 Aug 2014, at 18:06, Pierre Joye wrote: > > > As I agree that a solution has to be found, introducing pragma is > > definitively not something I like to see in PHP, options like that are > > way too low level and should not be exposed in userland. It will make > > PHP way too complex. > > Perhaps I=E2=80=99m being technically ignorant here, but would it not be = possible > to disable immutable arrays when opcache is not in use? > > -- > Andrea Faulds > http://ajf.me/ > > > > > --089e0158b2f627cc0204ffd14cc4--