Home
last modified time | relevance | path

Searched refs:__unset (Results 1 – 25 of 30) sorted by path

12

/PHP-7.4/Zend/tests/
H A Dbug33512.phpt16 function __unset($var) {
H A Dbug52484.phpt7 function __unset($prop) {
21 #0 %s(%d): A->__unset('\x00')
H A Dbug52879.phpt2 Bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early)
H A Dbug71359.phpt22 public function __unset($name) {
23 echo "__unset($name)\n";
H A Derrmsg_017.phpt2 errmsg: __unset() must take exactly 1 argument
7 function __unset() {
14 Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d
H A Dmagic_by_ref_004.phpt2 passing parameter of __unset() by ref
7 function __unset(&$name) { }
18 Fatal error: Method test::__unset() cannot take arguments by reference in %s on line %d
H A Dmagic_methods_001.phpt7 function __unset($a) {
H A Dmagic_methods_002.phpt2 Testing __unset with private visibility
7 private function __unset($a) {
14 Warning: The magic method __unset() must have public visibility and cannot be static in %s on line …
H A Dmagic_methods_003.phpt2 Testing __unset declaring as static
7 static function __unset($a) {
14 Warning: The magic method __unset() must have public visibility and cannot be static in %s on line …
H A Dmagic_methods_004.phpt2 Testing __unset() with protected visibility
7 protected function __unset($a) {
14 Warning: The magic method __unset() must have public visibility and cannot be static in %s on line …
H A Dproperty_access_errors_for_guarded_properties.phpt29 public function __unset($k) {
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_magic_set.phpt19 public function __unset($name) {
20 echo "__unset ", $name, "\n";
/PHP-7.4/Zend/
H A Dzend.h137 zend_function *__unset; member
H A Dzend_API.c2148 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2351 __unset = reg_function; in zend_register_functions()
2395 scope->__unset = __unset; in zend_register_functions()
2450 if (__unset) { in zend_register_functions()
2451 if (__unset->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2452 …ype, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__unset->common.function_… in zend_register_functions()
2454 __unset->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend_API.h210 class_container.__unset = NULL; \
H A Dzend_compile.c1677 ce->__unset = NULL; in zend_initialize_class_data()
5872 ce->__unset = (zend_function *) op_array; in zend_begin_method_decl()
H A Dzend_inheritance.c142 if (EXPECTED(!ce->__unset)) { in do_inherit_parent_constructor()
143 ce->__unset = parent->__unset; in do_inherit_parent_constructor()
1530 ce->__unset = fe; in zend_add_magic_methods()
H A Dzend_object_handlers.c281 fcic.function_handler = ce->__unset; in zend_std_call_unsetter()
1128 …property_offset = zend_get_property_offset(zobj->ce, name, (zobj->ce->__unset != NULL), cache_slot… in zend_std_unset_property()
1170 if (zobj->ce->__unset) { in zend_std_unset_property()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_util_funcs.c357 zend_update_inherited_handler(__unset); in zend_class_copy_ctor()
H A Dzend_file_cache.c788 SERIALIZE_PTR(ce->__unset);
1475 UNSERIALIZE_PTR(ce->__unset);
H A Dzend_persist.c1003 if (ce->__unset) { in zend_update_parent_ce()
1004 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__unset); in zend_update_parent_ce()
1006 ce->__unset = tmp; in zend_update_parent_ce()
/PHP-7.4/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt45 public function __unset($a) {}
129 Modifiers for method TestClass::__unset():
197 Modifiers for method TestClass::__unset():
/PHP-7.4/ext/soap/tests/
H A Dclassmap004.phpt20 function __unset($name) {
/PHP-7.4/ext/spl/tests/
H A DarrayObject_magicMethods1.phpt24 function __unset($name) {
H A DarrayObject_magicMethods2.phpt24 function __unset($name) {

Completed in 96 milliseconds

12