Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42267 invoked from network); 26 Feb 2009 20:27:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2009 20:27:41 -0000 Authentication-Results: pb1.pair.com header.from=surreal.w00t@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=surreal.w00t@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.158 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: surreal.w00t@gmail.com X-Host-Fingerprint: 209.85.220.158 mail-fx0-f158.google.com Received: from [209.85.220.158] ([209.85.220.158:57417] helo=mail-fx0-f158.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/3F-30584-A3BF6A94 for ; Thu, 26 Feb 2009 15:27:39 -0500 Received: by fxm2 with SMTP id 2so725032fxm.23 for ; Thu, 26 Feb 2009 12:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PRizGSmm1MP+C9VbFqwN7iNUmkM7lLJPzCswYbSIOws=; b=kafeY4sRv1mC3erFEk4nzAIad98/yKQ1Ob/WlpmTQAV0IScSHJNSi619LoxT6QKzW/ YEpOMFtfPI2V8Fu3rK1HtUZ0Uul+vEuV8lI8m+2LXV6tAhoGAKwgCcbT/SjTH6ArU6LY A5zruk3U9iB9X0ek1vC4OlFCDJl7+pvtcODMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:date:x-google-sender-auth:message-id :subject:from:to:content-type:content-transfer-encoding; b=Xp5iSAijBBbljo+UdpHkCNS738xscbkyOd38yn5IePf3YCqo9w4xEdtMRmdLTbdRE7 y5Kkwsl6mygOtXbuQoCp9raTVyYPN0F2Ag+h0lCSKIJB09AvqGKzlHL1+ToM+qHEuRv4 Ca3bjDcnEYPpJMKanBi0zftKdI+CNRG1TyfyU= MIME-Version: 1.0 Sender: surreal.w00t@gmail.com Reply-To: viroteck@viroteck.net Received: by 10.180.218.15 with SMTP id q15mr567792bkg.194.1235680056100; Thu, 26 Feb 2009 12:27:36 -0800 (PST) Date: Thu, 26 Feb 2009 20:27:36 +0000 X-Google-Sender-Auth: 6289562b1c4f8f7c Message-ID: To: internals Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Class names (with regard to autoload) From: viroteck@viroteck.net (Robin Burchell) Hi all, I've been playing around with autoload lately, and specifically using autoload to load classes which may be in subdirectories. I came up with the following test script: The first line demonstrates what I'm after ("autoloading Foo.Bar"), and the second seems to give a bit of an odd/incorrect (in these circumstances) result(__autoload is invoked with "Foo"). Is it possible to reconcile this behaviour to be a bit more consistant, and provide the behaviour I'm after? I'm willing to try provide a patch, if someone would be kind enough to direct me to the part(s) of the engine I'd need to look at. Thanks, Robin