Re: get_called_class returns empty on spl_autoload*

From: Date: Mon, 27 Apr 2009 19:03:02 +0000
Subject: Re: get_called_class returns empty on spl_autoload*
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-43789@lists.php.net to get a copy of this message
On Mon, Apr 27, 2009 at 18:19, Pablo Fischer <pfischer@php.net> 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

« previous php.internals (#43789) next »