Some examples for the PHP Standard Library (SPL)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Some (real world) examples for the Standard PHP Library which is shipped with every PHP installation but only used by less persons. Maybe cause the doc's are not the best, so we gonna change this.

Can I run these examples?

Yes. Every example is runnable out of the box. You only have to clone this repo to your computer an run it. Browser or cli, what you want.

For example to run the Countable Interface example on my debian machine:

git clone
cd SPL-Examples
php Interfaces/Countable.php