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. :-)
- Separate your code from others' by adding a new file
- If you spot a mistake, or could do better, then edit an existing "file" revisions are tracked
Testing a gist fork comment.