Home
last modified time | relevance | path

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

/php-src/Zend/tests/fibers/
H A Dmultiple-calls-to-ctor.phpt16 Fatal error: Uncaught FiberError: Cannot call constructor twice in %smultiple-calls-to-ctor.php:%d
18 #0 %smultiple-calls-to-ctor.php(%d): Fiber->__construct(Object(Closure))
20 thrown in %smultiple-calls-to-ctor.php on line %d
H A Dcall-to-ctor-of-terminated-fiber.phpt22 Fatal error: Uncaught FiberError: Cannot call constructor twice in %scall-to-ctor-of-terminated-fib…
24 #0 %scall-to-ctor-of-terminated-fiber.php(%d): Fiber->__construct(Object(Closure))
26 thrown in %scall-to-ctor-of-terminated-fiber.php on line %d
/php-src/Zend/tests/traits/bugs/
H A Dgh13177.phpt46 Method [ <user, ctor> final private method __construct ] {
50 Method [ <user, ctor> final private method __construct ] {
54 Method [ <user, ctor> final private method __construct ] {
58 Method [ <user, ctor> final private method __construct ] {
/php-src/TSRM/
H A DTSRM.c42 ts_allocate_ctor ctor; member
264 if (resource_types_table[j].ctor) { in tsrm_update_active_threads()
265 resource_types_table[j].ctor(p->storage[j]); in tsrm_update_active_threads()
277 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
301 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_id()
323 …ast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor d… in ts_allocate_fast_id() argument
359 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_fast_id()
405 if (resource_types_table[i].ctor) { in allocate_new_resource()
406 resource_types_table[i].ctor((*thread_resources_ptr)->storage[i]); in allocate_new_resource()
H A DTSRM.h91 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
95 …ast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor d…
/php-src/ext/spl/tests/
H A Dbug71412.phpt8 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-src/ext/opcache/tests/
H A Dbug78986.phpt2 Bug #78986: Opcache segfaults when inheriting ctor from immutable into mutable class
/php-src/ext/reflection/tests/
H A DReflectionParameter_ctor_cast.phpt2 Test method name string cast in ReflectionParameter ctor
H A Dconstructor_promotion.phpt54 Method [ <user, ctor> public method __construct ] {
H A DReflectionMethod_basic2.phpt115 string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
H A DReflectionClass_toString_001.phpt39 Method [ <internal:Reflection, ctor> public method __construct ] {
/php-src/ext/libxml/tests/
H A Dbug79191.phpt2 Bug #79191 (Error in SoapClient ctor disables DOMDocument::save())
/php-src/Zend/tests/named_params/
H A Dctor_extra_named_args.phpt2 Passing unknown named args to a non-existing ctor
/php-src/Zend/tests/
H A Dctor_promotion_mixing.phpt45 Method [ <user, ctor> public method __construct ] {
H A Dbug37632.phpt61 /* Right now Ctor's cannot be made protected when defined in a ctor. That is
/php-src/ext/zend_test/tests/
H A Ddoc_comment_internal_symbols2.phpt49 Method [ <internal:zend_test, ctor> public method __construct ] {
/php-src/ext/spl/
H A Dspl_heap.c51 spl_ptr_heap_ctor_func ctor; member
253 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
258 heap->ctor = ctor; in spl_ptr_heap_init()
356 heap->ctor = from->ctor; in spl_ptr_heap_clone()
367 heap->ctor(spl_heap_elem(heap, i)); in spl_ptr_heap_clone()
/php-src/ext/date/tests/
H A DDateTimeZone_compare_basic1.phpt39 // parent ctor not called
/php-src/sapi/cli/tests/
H A D005.phpt69 Method [ <internal:Core, ctor> public method __construct ] {
/php-src/ext/pdo/tests/
H A Dpdo_014.phpt55 /* default fetch mode is BOTH, so we see if the ctor can overwrite that */
/php-src/Zend/
H A Dzend_ast.c915 zend_function *ctor = Z_OBJ_HT_P(result)->get_constructor(Z_OBJ_P(result)); in zend_ast_evaluate_inner() local
916 if (ctor) { in zend_ast_evaluate_inner()
918 ctor, Z_OBJ_P(result), Z_OBJCE_P(result), NULL, 0, NULL, args); in zend_ast_evaluate_inner()
936 zend_function *ctor = Z_OBJ_HT_P(result)->get_constructor(Z_OBJ_P(result)); in zend_ast_evaluate_inner() local
937 if (ctor) { in zend_ast_evaluate_inner()
939 ctor, Z_OBJ_P(result), NULL, args_ast->children, args); in zend_ast_evaluate_inner()
/php-src/ext/reflection/
H A Dphp_reflection.c6720 zend_function *ctor = ce->constructor; in call_attribute_constructor() local
6722 ZEND_ASSERT(ctor != NULL); in call_attribute_constructor()
6724 if (!(ctor->common.fn_flags & ZEND_ACC_PUBLIC)) { in call_attribute_constructor()
6764 zend_call_known_function(ctor, obj, obj->ce, NULL, argc, args, named_params); in call_attribute_constructor()

Completed in 71 milliseconds