Back to index

php5  5.3.10
Defines | Functions | Variables
zend_closures.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ZEND_INVOKE_FUNC_NAME   "__invoke"

Functions

void zend_register_closure_ce (TSRMLS_D)
ZEND_API void zend_create_closure (zval *res, zend_function *op_array TSRMLS_DC)
ZEND_API zend_functionzend_get_closure_invoke_method (zval *obj TSRMLS_DC)
ZEND_API const zend_functionzend_get_closure_method_def (zval *obj TSRMLS_DC)

Variables

ZEND_API zend_class_entry * zend_ce_closure

Define Documentation

#define ZEND_INVOKE_FUNC_NAME   "__invoke"

Definition at line 27 of file zend_closures.h.


Function Documentation

ZEND_API void zend_create_closure ( zval *  res,
zend_function *op_array  TSRMLS_DC 
)

Definition at line 91 of file zend_closures.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ZEND_API const zend_function* zend_get_closure_method_def ( zval *obj  TSRMLS_DC)

Definition at line 107 of file zend_closures.c.

{
       zend_closure *closure = (zend_closure *)zend_object_store_get_object(obj TSRMLS_CC);       
       return &closure->func;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

ZEND_API zend_class_entry* zend_ce_closure

Definition at line 44 of file zend_closures.c.