Home
last modified time | relevance | path

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

123

/php-src/ext/spl/tests/SplObjectStorage/
H A DSplObjectStorage_unset.phpt2 SplObjectStorage unset and destructor edge cases
7 echo "In destructor. Should no longer be accessible in \$s:\n";
10 throw new RuntimeException("thrown from destructor");
32 In destructor. Should no longer be accessible in $s:
38 Caught: thrown from destructor
44 In destructor. Should no longer be accessible in $s:
50 Caught: thrown from destructor
/php-src/Zend/tests/
H A Dbug20240.phpt2 Bug #20240 (order of destructor calls)
12 register_shutdown_function(array($this, 'destructor'));
15 function destructor() {
40 test::destructor
H A Dbug29368_1.phpt2 Bug #29368.1 (The destructor is called when an exception is thrown from the constructor).
17 echo "Inside destructor\n";
H A Dbug72854.phpt2 Bug #72854: PHP Crashes on duplicate destructor call
H A Dbind_static_exception.phpt2 BIND_STATIC may destroy a variable with a throwing destructor
H A Dgh10695_2.phpt2 GH-10695: Exceptions in destructor during shutdown are caught
H A Ddtor_scope.phpt2 Scoping in destructor call
H A Dbug71818.phpt2 Bug #71818 (Memory leak when array altered in destructor)
H A Dbug47353.phpt2 Bug #47353 (crash when creating a lot of objects in object destructor)
H A Dframeless_throwing_destructor.phpt2 Frameless call with throwing destructor
/php-src/ext/opcache/tests/jit/
H A Dcount_001.phpt14 throw new RuntimeException("In destructor");
64 Caught In destructor
65 Caught In destructor
66 Caught In destructor
67 Caught In destructor
68 Caught In destructor
/php-src/ext/spl/tests/
H A Dbug81992b.phpt12 echo "In destructor\n";
47 In destructor
54 In destructor
61 In destructor
H A DSplFixedArray_immediate_gc.phpt7 echo "In destructor\n";
27 In destructor
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_class_007.phpt22 echo "(#$this->num) destructor called\n";
65 (#1) destructor called
69 (#2) destructor called
H A Dsession_set_save_handler_class_008.phpt22 echo "(#$this->num) destructor called\n";
59 (#1) destructor called
H A Dsession_set_save_handler_class_009.phpt22 echo "(#$this->num) destructor called\n";
56 (#1) destructor called
H A Dsession_set_save_handler_class_010.phpt22 echo "(#$this->num) destructor called\n";
57 (#1) destructor called
H A Dsession_set_save_handler_class_011.phpt23 echo "(#$this->num) destructor called\n";
58 (#1) destructor called
/php-src/Zend/
H A Dzend_objects.c99 zend_function *destructor = object->ce->destructor; in zend_objects_destroy_object() local
101 if (destructor) { in zend_objects_destroy_object()
105 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
106 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
133 if (!zend_check_protected(zend_get_function_root_class(destructor), scope)) { in zend_objects_destroy_object()
173 zend_call_known_instance_method_with_0_params(destructor, object, NULL); in zend_objects_destroy_object()
/php-src/Zend/tests/enum/
H A Dno-destruct.phpt2 Enum disallows destructor
/php-src/ext/zend_test/tests/
H A Dgh10695_1.phpt14 Caught: Throwing resource destructor called
/php-src/tests/classes/
H A Dctor_dtor_inheritance.phpt2 ZE2 A derived class can use the inherited constructor/destructor
8 // - base classes know about derived properties in constructor/destructor
H A Ddestructor_inheritance.phpt2 ZE2 The inherited destructor is called
H A Ddestructor_visibility_002.phpt2 ZE2 Ensuring destructor visibility
H A Ddestructor_visibility_003.phpt2 ZE2 Ensuring destructor visibility

Completed in 28 milliseconds

123