Searched refs:destructor (Results 1 – 25 of 48) sorted by relevance
12
2 Bug #20240 (order of destructor calls)14 register_shutdown_function(array($this, 'destructor'));17 function destructor() {42 test::destructor
2 Bug #29368.1 (The destructor is called when an exception is thrown from the constructor).17 echo "Inside destructor\n";
2 Bug #72854: PHP Crashes on duplicate destructor call
2 Bug #47353 (crash when creating a lot of objects in object destructor)
2 Bug #71818 (Memory leak when array altered in destructor)
2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
2 Bug #47771 (Exception during object construction from arg call calls object's destructor)
2 Scoping in destructor call
2 Bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
2 Bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
2 Bug #52361 (Throwing an exception in a destructor causes invalid catching)
89 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object() local91 if (destructor) { in zend_objects_destroy_object()96 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()97 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()122 if (!zend_check_protected(zend_get_function_root_class(destructor), scope)) { in zend_objects_destroy_object()156 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL); in zend_objects_destroy_object()
28 echo "(#$this->num) destructor called\n";71 (#1) destructor called75 (#2) destructor called
28 echo "(#$this->num) destructor called\n";65 (#1) destructor called
28 echo "(#$this->num) destructor called\n";62 (#1) destructor called
28 echo "(#$this->num) destructor called\n";63 (#1) destructor called
29 echo "(#$this->num) destructor called\n";64 (#1) destructor called
2 ZE2 A derived class can use the inherited constructor/destructor10 // - base classes know about derived properties in constructor/destructor
2 ZE2 The inherited destructor is called
2 ZE2 Ensuring destructor visibility
2 ZE2 The new constructor/destructor is called
2 ZE2 Autoload from destructor
Completed in 26 milliseconds