Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74435 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18986 invoked from network); 22 May 2014 21:28:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2014 21:28:08 -0000 Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.174 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.212.174 mail-wi0-f174.google.com Received: from [209.85.212.174] ([209.85.212.174:35956] helo=mail-wi0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/47-63132-6EB6E735 for ; Thu, 22 May 2014 17:28:07 -0400 Received: by mail-wi0-f174.google.com with SMTP id r20so10026853wiv.1 for ; Thu, 22 May 2014 14:28:03 -0700 (PDT) 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=rHydRGKAbzZjyUGmu3rf9kbWDbxi18zxo0nS96JowPA=; b=tcjbGs0qyBPF5XHvc0TqfCPsQUqAbsdjZRV0/uUOkj+skMWJV8XUjeOq729jPx1clR 91mPFyyRplqNVEBUUsV2OtdfAE5JI3+zqFu51ZICZBWIAlD5aGYB9HSAUJUzU5UQvQ3C aG0qiONLuiCJPDLvXai4wgEzVBHNNgHnshLVWN+wSV48Vkf1ZNCnvXO06rjDS8HR0RXD 3aPjolsNGChS21nxtcbRWN0GWiXRvpz2wH9jJz7RwbCAJrtSRclurWZLwDEcgxPqMw/I JDTrJinj9aCjlsj2GtSaJ0WFc9afNJ1eCQyK1aYbxy+ptrarTVOXqP0pFg6+iFTxTpzn HRXQ== X-Received: by 10.180.11.239 with SMTP id t15mr914599wib.25.1400794083710; Thu, 22 May 2014 14:28:03 -0700 (PDT) Received: from [192.168.1.27] (204.Red-88-20-86.staticIP.rima-tde.net. [88.20.86.204]) by mx.google.com with ESMTPSA id b16sm1213556wjx.45.2014.05.22.14.28.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 14:28:02 -0700 (PDT) Message-ID: <537E6BE1.8040905@gmail.com> Date: Thu, 22 May 2014 23:28:01 +0200 User-Agent: Thunderbird MIME-Version: 1.0 To: internals@lists.php.net References: <537E65B6.3060205@gmail.com> In-Reply-To: <537E65B6.3060205@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] filter_input and auto_globals_jit From: keisial@gmail.com (=?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?=) On 22/05/14 23:01, Gary Mort wrote: > Here is an oddity which I'm not sure how this is supposed to work. > > If you have auto_globals_jit enables then not only are super global > variables not initialized unless they are called, the underlying data > storage for the original data[used by filter_input] will not be > populated. > So the question is, is this by design? In which case I'll update the > docs. Or is this an oversight? In which case I'll open a bug and > submit a patch. Looks like a bug. After all, filter_input *is* using the variables.