Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39869 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28157 invoked from network); 12 Aug 2008 10:09:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2008 10:09:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.154 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.154 fg-out-1718.google.com Received: from [72.14.220.154] ([72.14.220.154:24744] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/59-04075-47161A84 for ; Tue, 12 Aug 2008 06:09:58 -0400 Received: by fg-out-1718.google.com with SMTP id 16so1850195fgg.23 for ; Tue, 12 Aug 2008 03:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gHmrDJxuZGKPDPdYGvlMVqDllNYZtqoKh5Yz/gecE+k=; b=vVioAlzwc7xxpYdA5FpbvMfOuko7z35G0YZ3RbxLTnM3F6Z30vy/+K6/qfAjJcwSYq FDzpElaiNnD1T6Pk7AsKezjDBnd42QQAAg3VCV4s5Sk5MSIWHDyhQyXFB2K8m9DAqs6g vz8t1pLNiMhs/PdZEjY8h2CBM0NG6wQyFQqUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HF/UITKpryQuIi+z7xE1CTnPhww9AAkp2Rqgb9nOk5EJUF9G+9TVx+Rt4yyDx2S2Ds 8cqPL5U+ku2cn2sA+zqPAUvveO22TEOOBYOjNe45GtNPfEowx3UFdbgk1pT2YK4xIDo7 +6xvSKFyl6GTm6TlFskQYTkEv/Hj7gjhpqpxE= Received: by 10.103.243.7 with SMTP id v7mr6849102mur.118.1218535793684; Tue, 12 Aug 2008 03:09:53 -0700 (PDT) Received: by 10.103.248.20 with HTTP; Tue, 12 Aug 2008 03:09:53 -0700 (PDT) Message-ID: <7f3ed2c30808120309h10b3e8feuf9c83dcc604fc4f2@mail.gmail.com> Date: Tue, 12 Aug 2008 12:09:53 +0200 To: "Rasmus Lerdorf" Cc: "Greg Beaver" , "Dmitry Stogov" , internals@lists.php.net In-Reply-To: <48A14240.1020600@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4899C4B4.3060902@liip.ch> <200808072237.01841.arnaud.lb@gmail.com> <7f3ed2c30808080011l3c62d416k7fd9b4dd455df99e@mail.gmail.com> <489C6BBA.8030101@zend.com> <489D811D.6090401@sektioneins.de> <489E3623.50008@lerdorf.com> <489FD934.8090905@zend.com> <48A0B1FB.6080604@chiaraquartet.net> <7f3ed2c30808120021n438be34crf83f24ca169f8e3a@mail.gmail.com> <48A14240.1020600@lerdorf.com> Subject: Re: [PHP-DEV] include bug in 5.3 From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Tue, Aug 12, 2008 at 09:56, Rasmus Lerdorf wrote: >> I was thinking along the same line. I bet some people have been lazy >> and used __FILE__. "/../../foobar.php". > > That will not work. And that is moronic code anyway. Why wouldn't they use > __DIR__ there? Because it didn't exist until 5.3 (or 5.2.7, don't remember) and they are to lazy to do dirname(__FILE__)... It is silly, but still an "edge case" we need to add to the "backwards compatibility breaks" document :) -Hannes