This is a public gist with the intention of folks adding a few choice tidbits of goodness that they have stumbled over when using the SPL (Standard PHP Library).
The (not so) secret motivation here is to get some nice examples to go in the PHP documentation. :-)