Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57218 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91597 invoked from network); 5 Jan 2012 01:03:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2012 01:03:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:57434] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/E2-06110-EC6F40F4 for ; Wed, 04 Jan 2012 20:03:10 -0500 Received: by wgbdt13 with SMTP id dt13so19605wgb.11 for ; Wed, 04 Jan 2012 17:03:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=S7BY+8aNgKQwLNQjdh2pYXDLm0Z1ub1HsZ+mVKLVlLE=; b=H+eb/6JrZVK6tmNJAL6d1oLNSDTSF7zdNgj1AHPsAnvEHQMUyTyydgaSeLWFIcooej I6HR6YqbfpGve7l4aSAXMV3Znyk8FGqAX9ibK/OulDk5JJ/i/w38FaHSu11DFISXxhy7 4Jtcfm6etWAZi37q23xm1D+tTrxvND77ugujQ= Received: by 10.227.203.84 with SMTP id fh20mr57941440wbb.27.1325725387397; Wed, 04 Jan 2012 17:03:07 -0800 (PST) Received: from [192.168.1.26] (132.Red-83-44-158.dynamicIP.rima-tde.net. [83.44.158.132]) by mx.google.com with ESMTPS id p2sm62073509wbh.22.2012.01.04.17.03.04 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 17:03:05 -0800 (PST) Message-ID: <4F04F7CE.5050904@gmail.com> Date: Thu, 05 Jan 2012 02:07:26 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Keloran , PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Feature Request From: keisial@gmail.com (=?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?=) On 04/01/12 17:18, Keloran wrote: > which can if your doing lots of checking alot of extra code for no reason, > or if you want to use variables, lots of louse variables just for something > that could be pulled from the request I don't think it would mean 'a lot of code', but if it bothers you in your app, just create a wrapper: function keloran_file_exists($filename) { return file_exists($filename) ? $filename : false; }