Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83444 invoked from network); 10 Jul 2008 05:11:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2008 05:11:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=felho@avalon.aut.bme.hu; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=felho@avalon.aut.bme.hu; sender-id=unknown Received-SPF: error (pb1.pair.com: domain avalon.aut.bme.hu from 84.2.40.5 cause and error) X-PHP-List-Original-Sender: felho@avalon.aut.bme.hu X-Host-Fingerprint: 84.2.40.5 mail00a.mail.t-online.hu Received: from [84.2.40.5] ([84.2.40.5:61667] helo=mail00a.mail.t-online.hu) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/FE-30205-EF995784 for ; Thu, 10 Jul 2008 01:11:27 -0400 Received: from gergely-hodicskas-computer.local (dsl51B68EB5.pool.t-online.hu [81.182.142.181]) by mail00a.mail.t-online.hu (Postfix) with ESMTPA id 46DAD20B74B; Thu, 10 Jul 2008 07:11:22 +0200 (CEST) Message-ID: <487599FA.9000207@avalon.aut.bme.hu> Date: Wed, 09 Jul 2008 22:11:22 -0700 User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Daniel Convissor CC: "internals@lists.php.net" References: <4875821E.9020504@avalon.aut.bme.hu> <20080710045418.GA22262@panix.com> In-Reply-To: <20080710045418.GA22262@panix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-DCC-mail.t-online.hu-Metrics: mail00a.mail.t-online.hu 32712; Body=2 Fuz1=2 Fuz2=2 Subject: Re: [PHP-DEV] strange autoload behavior From: felho@avalon.aut.bme.hu (Gergely Hodicska) Hi Dan, > The fact that the class "bar" is not found indicates that your include in > the autoload is either totally failing or gathering some other files. > Make your life better by specifying the path in the include statement > rather than relying on the include_path. You totally missed the point. Please try the code first. I didn't write but I thought that it is obvious that the files are in the same directory. > Also, you would have known this on your own if you better utilized the > error handler: > function error_handler($errno, $errstr, $errfile, $errline) { > echo "survey says... $errstr
\n"; > } This is a SKELETON (use case) to present the error! Do you think somebody write to the internal list with a dummy error? Best Regards, Felhő