Generator::current

(PHP 5 >= 5.5.0, PHP 7) Get the yielded value public mixed Generator::current ( void ) Returns: Returns the yielded value.

Closure::call

(PHP 7) Binds and calls the closure public mixed Closure::call ( object $newthis [, mixed $... ] ) Temporarily binds the closure to newthis, and calls it with any given parameters. Parameters: newthis The object to bind the closure to for the duration of the call. ... Zero or more parameters, which will be given as parameters to the clo

Closure::bindTo

(PHP 5 >= 5.4.0, PHP 7) Duplicates the closure with a new bound object and class scope public Closure Closure::bindTo ( object $newthis [, mixed $newscope = "static" ] ) Create and return a new anonymous function with the same body and bound variables as this one, but possibly with a different bound object and a new class scope. The “bound object” determines the value $this will have in the function body and the “cla

Closure::bind

(PHP 5 >= 5.4.0, PHP 7) Duplicates a closure with a specific bound object and class scope public static Closure Closure::bind ( Closure $closure, object $newthis [, mixed $newscope = "static" ] ) This method is a static version of Closure::bindTo(). See the documentation of that method for more information. Parameters: closure The anonymous functions to bind.

Closure::__construct

(PHP 5 >= 5.3.0, PHP 7) Constructor that disallows instantiation private Closure::__construct ( void ) This method exists only to disallow instantiation of the Closure class. Objects of this class are created in the fashion described on the anonymous functions page. Returns: This method has no return value; it simply emits an error (of type E_RECOVERABLE_ERROR).

Serializable::unserialize

(PHP 5 >= 5.1.0, PHP 7) Constructs the object abstract public void Serializable::unserialize ( string $serialized ) Called during unserialization of the object. Note: This method acts as the constructor of the object. The __construct() method will not be called after this method. Parameters: serialized The string representation of the object.

Serializable::serialize

(PHP 5 >= 5.1.0, PHP 7) String representation of object abstract public string Serializable::serialize ( void ) Should return the string representation of the object. Note: This method acts as the destructor of the object. The __destruct() method will not be called after this method. Returns: Returns the string representation of the object or NULL Exception:

ArrayAccess::offsetUnset

(PHP 5 >= 5.0.0, PHP 7) Unset an offset abstract public void ArrayAccess::offsetUnset ( mixed $offset ) Unsets an offset. Note: This method will not be called when type-casting to (unset) Parameters: offset The offset to unset. Returns: No value is returned.

ArrayAccess::offsetSet

(PHP 5 >= 5.0.0, PHP 7) Assign a value to the specified offset abstract public void ArrayAccess::offsetSet ( mixed $offset, mixed $value ) Assigns a value to the specified offset. Parameters: offset The offset to assign the value to. value The value to set. Returns: No value is returned.

ArrayAccess::offsetGet

(PHP 5 >= 5.0.0, PHP 7) Offset to retrieve abstract public mixed ArrayAccess::offsetGet ( mixed $offset ) Returns the value at specified offset. This method is executed when checking if offset is empty(). Parameters: offset The offset to retrieve. Returns: Can return all value types. Notes: