Home
last modified time | relevance | path

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

/PHP-7.2/Zend/tests/traits/
H A Dbug55554a.phpt10 echo "ctor executed\n";
32 New constructor: ctor executed
33 Legacy constructor: ctor executed
/PHP-7.2/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.2/ext/spl/tests/
H A Dbug71412.phpt10 Method [ <internal:SPL, ctor> public method __construct ] {
H A Dbug61828.phpt2 Bug #61828 (Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice)
/PHP-7.2/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.2/TSRM/
H A DTSRM.c39 ts_allocate_ctor ctor; member
240 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
264 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_id()
279 if (resource_types_table[j].ctor) { in ts_allocate_id()
280 resource_types_table[j].ctor(p->storage[j]); in ts_allocate_id()
321 if (resource_types_table[i].ctor) { in allocate_new_resource()
322 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.2/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.2/tests/classes/
H A Dfinal_ctor2.phpt2 ZE2 cannot override final old style ctor
/PHP-7.2/sapi/cli/tests/
H A D005.phpt68 Method [ <internal:Core, ctor> public method __construct ] {
/PHP-7.2/ext/snmp/tests/
H A Dreflection.phpt25 Method [ <internal:snmp, ctor> public method __construct ] {
/PHP-7.2/ext/pdo/tests/
H A Dpdo_014.phpt53 /* default fetch mode is BOTH, so we see if the ctor can overwrite that */
/PHP-7.2/ext/date/
H A Dphp_date.h232 …obj, /*const*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor);
H A Dphp_date.c2665 …nst*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor) /* {{{ */ in php_date_initialize() argument
2689 if (ctor && err && err->error_count) { in php_date_initialize()
/PHP-7.2/Zend/
H A Dzend_API.c2330 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2331 ctor = reg_function; in zend_register_functions()
2333 ctor = reg_function; in zend_register_functions()
2390 scope->constructor = ctor; in zend_register_functions()
2401 if (ctor) { in zend_register_functions()
2402 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2403 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2404 … "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()
2406 ctor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2469 …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.c1453 int ctor; member
1463 if (!ai->ctor) { in zend_verify_abstract_class_function()
1465 ai->ctor = 1; in zend_verify_abstract_class_function()

Completed in 63 milliseconds