Am Tue, 4 Aug 2009 13:40:07 +0200 schrieb Christian Grobmeier <[email protected]>:
> Hi guys, > just realized this: > http://de.php.net/manual/en/book.spl.php > > This makes everything more OOP. Its delivered by default with PHP 5.0 > and cannot be disabled with PHP 5.3. > I really think this makes code cleaner and faster in some cases, since > this is a C library. Wellknown patterns > like Iterator are included. > > I really think we should make use of this great lib. > > Any experiences from you with that lib? Opinions? I liked the idea of the SPL when it was started but honestly I never got into the situation to actually need anything of it. In contrast to Java, hashes and arrays are already built in and Double Linked Lists or DirectoryIterators are not so commonly used so it did not become as important as the Java Collections API. But if you know some part of log4php that could make use of it, I would certainly favour of doing so. bye, -christian-
