Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86502 invoked from network); 27 Apr 2009 19:03:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2009 19:03:07 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.158 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.158 fg-out-1718.google.com Received: from [72.14.220.158] ([72.14.220.158:14993] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/96-09611-96106F94 for ; Mon, 27 Apr 2009 15:03:07 -0400 Received: by fg-out-1718.google.com with SMTP id 16so30760fgg.0 for ; Mon, 27 Apr 2009 12:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=I+1/7kOXOxtOsv4+et6ZDUKasKvUQZO/Z4zMXLdblAk=; b=TixuJrTb2rFmESIB4LljryIhk4jRpUc1g7gYmZIwzIY4EnyRHCduZYFvve2EDeVl+S yzkaTliXj2cy4S3clrCPzdnbkGQTQGMiiyNKu+o9W8DQ/74cAR9sGuNHBs/L6gdkvB8S dV10zTxI6LsWTF/nsjsUdEgXgYbkR2rPDfgOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PPsES8sCS83BW8R4oeHuY0o/zI5AYt/Jrf+G6b5WJFTjqQTRVY8wv8aN/tjji+RC+s FpKrhYbJCNp46eUrEUydWjqt8bTsVEfopU3QYKzEdKKwgZhzfSt9huYju1GlPusVXJ1l qRnBi1vS2paIs1V0CXKTqso0V911NJbuQaU9w= MIME-Version: 1.0 Received: by 10.86.36.17 with SMTP id j17mr3601600fgj.33.1240858982404; Mon, 27 Apr 2009 12:03:02 -0700 (PDT) In-Reply-To: <771f697e0904270919v622ade3eie652f7260d6acb23@mail.gmail.com> References: <771f697e0904261428s678548a4w14a8270e8ecb4ceb@mail.gmail.com> <771f697e0904261627if16d200qc2986ca957a2b45a@mail.gmail.com> <771f697e0904270919v622ade3eie652f7260d6acb23@mail.gmail.com> Date: Mon, 27 Apr 2009 21:03:02 +0200 Message-ID: <7f3ed2c30904271203o728e6054hc1b4cb003c14583c@mail.gmail.com> To: Pablo Fischer Cc: Etienne Kneuss , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] get_called_class returns empty on spl_autoload* From: hannes.magnusson@gmail.com (Hannes Magnusson) On Mon, Apr 27, 2009 at 18:19, Pablo Fischer wrote: > Hi, > > Well, I upgraded my php5.3 version and I still see the same thing: [...] > PHP 5.3.0RC1 (cli) (built: Apr 27 2009 11:12:36) What about CVS? > As I said, not sure if this is the way spl_autoload_register should > work with get_called_class(). It works fine for me: string(24) "Current class is: Loader" string(22) "Calling Loader for Foo" PHP Fatal error: Class 'Foo' not found in /usr/src/php/5.3/- on line 15 -Hannes