php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_spl.stub.php File Reference

Go to the source code of this file.

Functions

 class_implements ($object_or_class, bool $autoload=true)
 
 class_parents ($object_or_class, bool $autoload=true)
 
 class_uses ($object_or_class, bool $autoload=true)
 
 spl_autoload (string $class, ?string $file_extensions=null)
 
 spl_autoload_call (string $class)
 
 spl_autoload_extensions (?string $file_extensions=null)
 
 spl_autoload_functions ()
 
 spl_autoload_register (?callable $callback=null, bool $throw=true, bool $prepend=false)
 
 spl_autoload_unregister (callable $callback)
 
 spl_classes ()
 
 spl_object_hash (object $object)
 
 spl_object_id (object $object)
 
 iterator_apply (Traversable $iterator, callable $callback, ?array $args=null)
 
 iterator_count (iterable $iterator)
 
 iterator_to_array (iterable $iterator, bool $preserve_keys=true)
 

Function Documentation

◆ class_implements()

class_implements ( $object_or_class,
bool $autoload = true )

@generate-class-entries

Parameters
object | string$object_or_class
Returns
array<string, string>|false @refcount 1

Definition at line 10 of file php_spl.stub.php.

◆ class_parents()

class_parents ( $object_or_class,
bool $autoload = true )
Parameters
object | string$object_or_class
Returns
array<string, string>|false @refcount 1

Definition at line 17 of file php_spl.stub.php.

◆ class_uses()

class_uses ( $object_or_class,
bool $autoload = true )
Parameters
object | string$object_or_class
Returns
array<string, string>|false @refcount 1

Definition at line 24 of file php_spl.stub.php.

◆ iterator_apply()

iterator_apply ( Traversable $iterator,
callable $callback,
?array $args = null )

Definition at line 49 of file php_spl.stub.php.

◆ iterator_count()

iterator_count ( iterable $iterator)

Definition at line 51 of file php_spl.stub.php.

◆ iterator_to_array()

iterator_to_array ( iterable $iterator,
bool $preserve_keys = true )

Definition at line 53 of file php_spl.stub.php.

◆ spl_autoload()

spl_autoload ( string $class,
?string $file_extensions = null )

Definition at line 26 of file php_spl.stub.php.

◆ spl_autoload_call()

spl_autoload_call ( string $class)

Definition at line 28 of file php_spl.stub.php.

◆ spl_autoload_extensions()

spl_autoload_extensions ( ?string $file_extensions = null)

Definition at line 30 of file php_spl.stub.php.

◆ spl_autoload_functions()

spl_autoload_functions ( )

Definition at line 32 of file php_spl.stub.php.

◆ spl_autoload_register()

spl_autoload_register ( ?callable $callback = null,
bool $throw = true,
bool $prepend = false )

Definition at line 34 of file php_spl.stub.php.

◆ spl_autoload_unregister()

spl_autoload_unregister ( callable $callback)

Definition at line 36 of file php_spl.stub.php.

◆ spl_classes()

spl_classes ( )
Returns
array<string, string> @refcount 1

Definition at line 42 of file php_spl.stub.php.

◆ spl_object_hash()

spl_object_hash ( object $object)

@refcount 1

Definition at line 45 of file php_spl.stub.php.

◆ spl_object_id()

spl_object_id ( object $object)

Definition at line 47 of file php_spl.stub.php.