Home > PHP > Extension > SPL

SPL

basic.other

Description

Standard PHP Library (SPL)
  • class_implements (class, autoload) - Return the interfaces which are implemented by the given class
  • class_parents (class, autoload) - Return the parent classes of the given class
  • iterator_apply (iterator, function, args) - Call a function for every element in an iterator
  • iterator_count (iterator) - Count the elements in an iterator
  • iterator_to_array (iterator, use_keys) - Copy the iterator into an array
  • spl_autoload (class_name, file_extensions) - Default implementation for __autoload()
  • spl_autoload_call (class_name) - Try all registered __autoload() function to load the requested class
  • spl_autoload_extensions (file_extensions) - Register and return default file extensions for spl_autoload
  • spl_autoload_functions (file_extensions) - Return all registered __autoload() functions
  • spl_autoload_register (autoload_function, throw, prepend) - Register given function as __autoload() implementation
  • spl_autoload_unregister (autoload_function) - Unregister given function as __autoload() implementation
  • spl_classes (autoload_function) - Return available SPL classes
  • spl_object_hash (obj) - Return hash id for given object