php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Closure Union Reference

Public Member Functions

 bindTo (?object $newThis, object|string|null $newScope="static")
 
 call (object $newThis, mixed ... $args)
 

Static Public Member Functions

static bind (Closure $closure, ?object $newThis, object|string|null $newScope="static")
 
static fromCallable (callable $callback)
 

Data Fields

CClosure c
 
LClosure l
 

Detailed Description

@generate-class-entries @strict-properties @not-serializable

Definition at line 9 of file zend_closures.stub.php.

Member Function Documentation

◆ bind()

static Closure::bind ( Closure $closure,
?object $newThis,
object|string|null $newScope = "static" )
static

Definition at line 13 of file zend_closures.stub.php.

◆ bindTo()

Closure::bindTo ( ?object $newThis,
object|string|null $newScope = "static" )

Definition at line 19 of file zend_closures.stub.php.

◆ call()

Closure::call ( object $newThis,
mixed ... $args )

Definition at line 21 of file zend_closures.stub.php.

◆ fromCallable()

static Closure::fromCallable ( callable $callback)
static

Definition at line 23 of file zend_closures.stub.php.

Field Documentation

◆ c

CClosure Closure::c

Definition at line 341 of file minilua.c.

◆ l

LClosure Closure::l

Definition at line 342 of file minilua.c.


The documentation for this union was generated from the following files: