Haven’t been watching Devshed closely enough, they’ve just put out their second article on SPL, the Standard PHP Library, something which otherwise is difficult to get material on.
While the first article was a decent overview of PHP’s implementation of Exceptions, this one examines the ArrayObject and gives an example of traversing the filesystem in even fewer LOC than before
When you look at the class definition, ie which interfaces are being implemented:
class ArrayObject implements IteratorAggregate,
ArrayAccess, Countable { … }
it seems there are more language level objects available than meets the eye.








December 16th, 2004 at 1:15 am
Harry Fuecks also this this article on SPL.