Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39722 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36404 invoked from network); 7 Aug 2008 01:20:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2008 01:20:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=christian.stocker@liip.ch; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christian.stocker@liip.ch; sender-id=unknown Received-SPF: error (pb1.pair.com: domain liip.ch from 194.50.176.162 cause and error) X-PHP-List-Original-Sender: christian.stocker@liip.ch X-Host-Fingerprint: 194.50.176.162 mail.bitflux.ch Linux 2.5 (sometimes 2.4) (4) Received: from [194.50.176.162] ([194.50.176.162:40209] helo=devel.bitflux.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/34-29324-7DD4A984 for ; Wed, 06 Aug 2008 21:20:24 -0400 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id 19104E76E3; Thu, 7 Aug 2008 03:20:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at devel.bitflux.ch Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6fxiZx2xJMYJ; Thu, 7 Aug 2008 03:20:14 +0200 (CEST) Received: from [192.168.1.127] (80-219-193-239.dclient.hispeed.ch [80.219.193.239]) by devel.bitflux.ch (Postfix) with ESMTP id 3CD0CE76EA; Thu, 7 Aug 2008 03:18:56 +0200 (CEST) Message-ID: <489A4D7F.7030305@liip.ch> Date: Thu, 07 Aug 2008 03:18:55 +0200 User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Stanislav Malyshev CC: PHPdev , Dmitry Stogov References: <4899C4B4.3060902@liip.ch> <489A49D6.8090300@zend.com> In-Reply-To: <489A49D6.8090300@zend.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=5CE1DECB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] include bug in 5.3 From: christian.stocker@liip.ch (Christian Stocker) On 7.8.2008 3:03 Uhr, Stanislav Malyshev wrote: > Hi! > >> and set the include path to foo/:bar/ >> and then do >> include("alpha/bar.php"); >> it throws an not-found error. > > Tried that, worked just fine for me - includes bar/alpha/bar.php. I > notice your script on the link does something different, but works for > me too with 5.3 CVS. Did you try it on a *BSD Variant? And do you have an empty foo/alpha/ directory? That's what my script does and with which it fails on OS X. It seems to work on Linux. According to http://bugs.php.net/bug.php?id=45044 I'm not the only one with that problem and it really introduces a lot of issues. chregu -- Liip AG // Feldstrasse 133 // CH-8004 Zurich Tel +41 43 500 39 81 // Mobile +41 76 561 88 60 www.liip.ch // blog.liip.ch // GnuPG 0x5CE1DECB