Searched refs:destructor (Results 1 – 25 of 38) 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 #47353 (crash when creating a lot of objects in object 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 #68652 (segmentation fault in destructor)
2 Bug #52361 (Throwing an exception in a destructor causes invalid catching)
63 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object() local65 if (destructor) { in zend_objects_destroy_object()70 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()71 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()87 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) { in zend_objects_destroy_object()123 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
2 ZE2 accessing globals from destructor in shutdown
2 ZE2 catch exception thrown in destructor
Completed in 38 milliseconds