Yep, it's that simple! You can even import it and it'll work! In zend_lookup_class, the standard class_table search is done first, but on failure, before it calls __autoload, the class name will try to be "resolved" using the import table for the executing file. If a matching entry in the import table is found, then it'll again try to search in class_table using the full name. Since this class has been defined in the extension, the search would be successful and __autoload will not be called.
-- Jessie ""l0t3k"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jesse, > another thing to consider (if you havent already) is extension support. > IOW, how do i place my extension-created class into a namespace. Is this as > simple as declaring the class name as Ns:Class ? > > l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php