The Standard PHP Library (SPL) extension defines interfaces and classes that are meant to solve common problems.
The extension provides various datastructures, generic exceptions, iterators, classes to work with filesystems using an object oriented API, and utility functions.