Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 22 of 22) sorted by relevance

/PHP-7.0/Zend/tests/traits/
H A Dbug55554a.phpt10 echo "ctor executed\n";
33 New constructor: ctor executed
34 Legacy constructor: ctor executed
/PHP-7.0/ext/reflection/tests/
H A Dbug38942.phpt2 Bug #38942 (Double old-style-ctor inheritance)
31 Method [ <user, inherits foo, ctor> public method foo ] {
H A DReflectionMethod_basic2.phpt153 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
163 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
H A DReflectionClass_toString_001.phpt44 Method [ <internal:Reflection, ctor> public method __construct ] {
/PHP-7.0/ext/spl/tests/
H A Dbug61828.phpt2 Bug #61828 (Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice)
/PHP-7.0/ext/spl/
H A Dspl_functions.h52 void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor,…
53 …ce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_functio…
H A Dspl_dllist.c78 spl_ptr_llist_ctor_func ctor; member
140 llist->ctor = ctor; in spl_ptr_llist_init()
213 if (llist->ctor) { in spl_ptr_llist_unshift()
214 llist->ctor(elem); in spl_ptr_llist_unshift()
237 if (llist->ctor) { in spl_ptr_llist_push()
238 llist->ctor(elem); in spl_ptr_llist_push()
389 intern->llist = (spl_ptr_llist *)spl_ptr_llist_init(other->llist->ctor, other->llist->dtor); in spl_dllist_object_new_ex()
851 if (intern->llist->ctor) { in SPL_METHOD()
852 intern->llist->ctor(element); in SPL_METHOD()
1281 if (intern->llist->ctor) { in SPL_METHOD()
[all …]
H A Dspl_heap.c59 spl_ptr_heap_ctor_func ctor; member
223 static spl_ptr_heap *spl_ptr_heap_init(spl_ptr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_… in spl_ptr_heap_init() argument
228 heap->ctor = ctor; in spl_ptr_heap_init()
316 heap->ctor = from->ctor; in spl_ptr_heap_clone()
326 heap->ctor(&heap->elements[i]); in spl_ptr_heap_clone()
/PHP-7.0/TSRM/
H A DTSRM.c39 ts_allocate_ctor ctor; member
219 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo… in ts_allocate_id() argument
243 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_id()
258 if (resource_types_table[j].ctor) { in ts_allocate_id()
259 resource_types_table[j].ctor(p->storage[j]); in ts_allocate_id()
300 if (resource_types_table[i].ctor) { in allocate_new_resource()
301 resource_types_table[i].ctor((*thread_resources_ptr)->storage[i]); in allocate_new_resource()
H A DTSRM.h108 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
/PHP-7.0/Zend/tests/
H A Dbug38942.phpt2 Bug #38942 (Double old-style-ctor inheritance)
H A Dbug37632.phpt61 /* Right now Ctor's cannot be made protected when defined in a ctor. That is
/PHP-7.0/tests/classes/
H A Dfinal_ctor2.phpt2 ZE2 cannot override final old style ctor
/PHP-7.0/sapi/cli/tests/
H A D005.phpt68 Method [ <internal:Core, ctor> public method __construct ] {
/PHP-7.0/ext/snmp/tests/
H A Dreflection.phpt25 Method [ <internal:snmp, ctor> public method __construct ] {
/PHP-7.0/ext/pdo/tests/
H A Dpdo_014.phpt53 /* default fetch mode is BOTH, so we see if the ctor can overwrite that */
/PHP-7.0/ext/date/
H A Dphp_date.h228 …obj, /*const*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor);
H A Dphp_date.c2548 …nst*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor) /* {{{ */ in php_date_initialize() argument
2570 if (ctor && err && err->error_count) { in php_date_initialize()
/PHP-7.0/Zend/
H A Dzend_API.c2270 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2271 ctor = reg_function; in zend_register_functions()
2273 ctor = reg_function; in zend_register_functions()
2330 scope->constructor = ctor; in zend_register_functions()
2341 if (ctor) { in zend_register_functions()
2342 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2343 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2344 … "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()
2346 ctor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2410 …if (ctor && ctor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ctor->common.fn_flags & ZEND_ACC_C… in zend_register_functions()
[all …]
H A Dzend_execute_API.c1422 int ctor; member
1432 if (!ai->ctor) { in zend_verify_abstract_class_function()
1434 ai->ctor = 1; in zend_verify_abstract_class_function()
/PHP-7.0/ext/pdo/
H A Dpdo_stmt.c2651 static zend_internal_function ctor = {0}; in row_get_ctor() local
2653 ctor.type = ZEND_INTERNAL_FUNCTION; in row_get_ctor()
2654 ctor.function_name = zend_string_init("__construct", sizeof("__construct") - 1, 0); in row_get_ctor()
2655 ctor.scope = pdo_row_ce; in row_get_ctor()
2656 ctor.handler = ZEND_FN(dbrow_constructor); in row_get_ctor()
2657 ctor.fn_flags = ZEND_ACC_PUBLIC; in row_get_ctor()
2659 return (union _zend_function*)&ctor; in row_get_ctor()
/PHP-7.0/
H A DUPGRADING.INTERNALS165 ctor or RINIT function

Completed in 84 milliseconds