version 1.1.1.2, 2012/05/29 12:34:35
|
version 1.1.1.3, 2013/07/22 01:32:15
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Zend Engine | |
| Zend Engine | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | | | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 2.00 of the Zend license, | |
| This source file is subject to version 2.00 of the Zend license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 78 ZEND_METHOD(Closure, __invoke) /* {{{ */
|
Line 78 ZEND_METHOD(Closure, __invoke) /* {{{ */
|
|
|
/* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] ) |
/* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] ) |
Create a closure from another one and bind to another object and scope */ |
Create a closure from another one and bind to another object and scope */ |
ZEND_METHOD(Closure, bind) /* {{{ */ | ZEND_METHOD(Closure, bind) |
{ |
{ |
zval *newthis, *zclosure, *scope_arg = NULL; |
zval *newthis, *zclosure, *scope_arg = NULL; |
zend_closure *closure; |
zend_closure *closure; |