PHP 5, PHP 7, PHP 8
spl_classes - Return available SPL classes
Code Examples

spl_classes( ): array

This function returns an array with the current available SPL classes.


This function has no parameters.

Return Values

Returns an array containing the currently available SPL classes.

Example of spl_classes

Show all examples for spl_classes

PHP Version:

Function spl_classes:

Standard PHP Library (SPL) Functions

Most used PHP functions