Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 25 of 38) sorted by relevance

12

/PHP-5.6/Zend/tests/
H A Dbug20240.phpt2 Bug #20240 (order of destructor calls)
14 register_shutdown_function(array($this, 'destructor'));
17 function destructor() {
42 test::destructor
H A Dbug47353.phpt2 Bug #47353 (crash when creating a lot of objects in object destructor)
H A Dbug29368.phpt2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
H A Dbug47771.phpt2 Bug #47771 (Exception during object construction from arg call calls object's destructor)
H A Ddtor_scope.phpt2 Scoping in destructor call
H A Dbug39346.phpt2 Bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
H A Dbug47343.phpt2 Bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
H A Dbug68652.phpt2 Bug #68652 (segmentation fault in destructor)
H A Dbug52361.phpt2 Bug #52361 (Throwing an exception in a destructor causes invalid catching)
/PHP-5.6/Zend/
H A Dzend_objects.c63 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object() local
65 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()
/PHP-5.6/ext/session/tests/
H A Dsession_set_save_handler_class_007.phpt28 echo "(#$this->num) destructor called\n";
71 (#1) destructor called
75 (#2) destructor called
H A Dsession_set_save_handler_class_008.phpt28 echo "(#$this->num) destructor called\n";
65 (#1) destructor called
H A Dsession_set_save_handler_class_009.phpt28 echo "(#$this->num) destructor called\n";
62 (#1) destructor called
H A Dsession_set_save_handler_class_010.phpt28 echo "(#$this->num) destructor called\n";
63 (#1) destructor called
H A Dsession_set_save_handler_class_011.phpt29 echo "(#$this->num) destructor called\n";
64 (#1) destructor called
/PHP-5.6/tests/classes/
H A Dctor_dtor_inheritance.phpt2 ZE2 A derived class can use the inherited constructor/destructor
10 // - base classes know about derived properties in constructor/destructor
H A Ddestructor_inheritance.phpt2 ZE2 The inherited destructor is called
H A Ddestructor_visibility_001.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_002.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_003.phpt2 ZE2 Ensuring destructor visibility
H A Dctor_dtor.phpt2 ZE2 The new constructor/destructor is called
H A Dautoload_005.phpt2 ZE2 Autoload from destructor
H A Dautoload_006.phpt2 ZE2 Autoload from destructor
H A Ddestructor_and_globals.phpt2 ZE2 accessing globals from destructor in shutdown
H A Ddestructor_and_exceptions.phpt2 ZE2 catch exception thrown in destructor

Completed in 38 milliseconds

12