← All docs

SPL builtins

Builtins in the SPL category.

SPL builtins

FunctionSignatureReturnsAOTeval()
iterator_apply()(traversable $iterator, callable $callback, array $args = null): intint✓✓
iterator_count()(traversable $iterator): intint✓✓
iterator_to_array()(traversable $iterator, bool $preserve_keys = true): arrayarray✓✓
spl_autoload()(string $class, string $file_extensions = null): voidvoid✓✓
spl_autoload_call()(string $class): voidvoid✓✓
spl_autoload_extensions()(string $file_extensions = null): stringstring✓✓
spl_autoload_functions()(): arrayarray✓✓
spl_autoload_register()(callable $callback = null, bool $throw = true, bool $prepend = false): boolbool✓✓
spl_autoload_unregister()(callable $callback): boolbool✓✓
spl_classes()(): arrayarray✓✓
spl_object_hash()(object $object): stringstring✓✓
spl_object_id()(object $object): intint✓✓