Ok on further reading the SPL is compiled by default, but the classes provided by my default installation are below:

which seem to miss of the autoload functions - spl_autoload_call as listed in full here - http://uk2.php.net/spl

SPL tells me to add the inc to a prepend which I did then it still doesnt work, so looking for some advice on this please.

AppendIterator -> AppendIterator
ArrayIterator -> ArrayIterator
ArrayObject -> ArrayObject
BadFunctionCallException -> BadFunctionCallException
BadMethodCallException -> BadMethodCallException
CachingIterator -> CachingIterator
Countable -> Countable
DirectoryIterator -> DirectoryIterator
DomainException -> DomainException
EmptyIterator -> EmptyIterator
FilterIterator -> FilterIterator
InfiniteIterator -> InfiniteIterator
InvalidArgumentException -> InvalidArgumentException
IteratorIterator -> IteratorIterator
LengthException -> LengthException
LimitIterator -> LimitIterator
LogicException -> LogicException
NoRewindIterator -> NoRewindIterator
OuterIterator -> OuterIterator
OutOfBoundsException -> OutOfBoundsException
OutOfRangeException -> OutOfRangeException
OverflowException -> OverflowException
ParentIterator -> ParentIterator
RangeException -> RangeException
RecursiveArrayIterator -> RecursiveArrayIterator
RecursiveCachingIterator -> RecursiveCachingIterator
RecursiveDirectoryIterator -> RecursiveDirectoryIterator
RecursiveFilterIterator -> RecursiveFilterIterator
RecursiveIterator -> RecursiveIterator
RecursiveIteratorIterator -> RecursiveIteratorIterator
RecursiveRegexIterator -> RecursiveRegexIterator
RegexIterator -> RegexIterator
RuntimeException -> RuntimeException
SeekableIterator -> SeekableIterator
SimpleXMLIterator -> SimpleXMLIterator
SplFileInfo -> SplFileInfo
SplFileObject -> SplFileObject
SplObjectStorage -> SplObjectStorage
SplObserver -> SplObserver
SplSubject -> SplSubject
SplTempFileObject -> SplTempFileObject
UnderflowException -> UnderflowException
UnexpectedValueException -> UnexpectedValueException

Ian Warner wrote:
Before I was using:

function __autoload($class)
{
    Zend_Loader::loadClass($class);
}

Now it seems I need the SPL extension installed - I cant seem to find any instructions on how to install this, I thought it was a PECL download?

So this doesnt work

Zend_Loader::registerAutoload()

Bit confused on all this it seems that 1.02 has a major BC break for the autoloader which I am suprised about or I am missing something obvious.

So advice needed on correct code to replace the above, and also how to install the SPL on windows

ian

Reply via email to