Searched defs:constructor (Results 1 - 7 of 7) sorted by relevance
| /PHP_TRUNK/scripts/dev/generate-phpt/src/ |
| H A D | gtMethod.php | 29 * Set the names of the class constructor arguments. Take only mandatory argument names. 34 $constructor = $reflectionClass->getConstructor(); variable 35 foreach($constructor->getParameters() as $i => $param) { 64 * Return the list of constructor argument names 92 * Set the list of arguments to be passed to the constructor 107 * Return the list of the arguments to be passed to the constructor 117 * Set up the source statements that initialise constructor arguments; 131 * Return the constructor initialisation statements
|
| /PHP_TRUNK/Zend/ |
| H A D | zend.h | 493 union _zend_function *constructor; member in struct:_zend_class_entry 579 /* All data types <= IS_BOOL have their constructor/destructors skipped */
|
| H A D | zend_vm_def.h | 2592 if (UNEXPECTED(ce->constructor == NULL)) { 2593 zend_error_noreturn(E_ERROR, "Cannot call constructor"); 2595 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { 2598 call->fbc = ce->constructor; 3374 zend_function *constructor; variable 3390 constructor = Z_OBJ_HT_P(object_zval)->get_constructor(object_zval TSRMLS_CC); 3392 if (constructor == NULL) { 3408 call->fbc = constructor;
|
| H A D | zend_vm_execute.h | 742 zend_function *constructor; local 758 constructor = Z_OBJ_HT_P(object_zval)->get_constructor(object_zval TSRMLS_CC); 760 if (constructor == NULL) { 776 call->fbc = constructor; 3636 if (UNEXPECTED(ce->constructor == NULL)) { 3637 zend_error_noreturn(E_ERROR, "Cannot call constructor"); 3639 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { 3642 call->fbc = ce->constructor; 4623 if (UNEXPECTED(ce->constructor [all...] |
| H A D | zend_object_handlers.c | 1167 if (function_name_strlen == ce->name_length && ce->constructor) { 1169 /* Only change the method to the constructor if the constructor isn't called __construct 1172 if (!memcmp(lc_class_name, lc_function_name, function_name_strlen) && memcmp(ce->constructor->common.function_name, "__", sizeof("__") - 1)) { 1173 fbc = ce->constructor; 1306 zend_function *constructor = zobj->ce->constructor; local 1308 if (constructor) { 1309 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { 1311 } else if (constructor [all...] |
| /PHP_TRUNK/ext/reflection/ |
| H A D | php_reflection.c | 1408 fcc.function_handler = ce_ptr->constructor; 3168 Returns whether this method is the constructor */ 3181 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope); 3637 Returns the class' constructor if there is one, NULL otherwise */ 3648 if (ce->constructor) { 3649 reflection_method_factory(ce, ce->constructor, NULL, return_value TSRMLS_CC); 4082 /* Basically, the class is instantiable. Though, if there is a constructor 4084 if (!ce->constructor) { 4088 RETURN_BOOL(ce->constructor 4197 zend_function *constructor; local 4296 zend_function *constructor; local [all...] |
| /PHP_TRUNK/ext/soap/ |
| H A D | soap.c | 779 SoapParam constructor */ 801 SoapHeader constructor */ 841 SoapFault constructor */ 896 SoapFault constructor */ 939 SoapVar constructor */ 1099 SoapServer constructor */ 1685 /* Call constructor */ 1687 zval c_ret, constructor; local 1690 INIT_ZVAL(constructor); 1692 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAM 1715 zval c_ret, constructor; local [all...] |
Completed in 64 milliseconds