Home
last modified time | relevance | path

Searched refs:__unset (Results 1 – 25 of 28) sorted by relevance

12

/PHP-7.1/Zend/tests/
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_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 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 Dbug52484.phpt7 function __unset($prop) {
21 #0 %s(%d): A->__unset('\x00')
H A Dbug71359.phpt22 public function __unset($name) {
23 echo "__unset($name)\n";
H A Dbug52879.phpt2 Bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early)
H A Dmagic_methods_001.phpt7 function __unset($a) {
H A Dbug33512.phpt16 function __unset($var) {
/PHP-7.1/ext/spl/tests/
H A Dbug45622b.phpt9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; }
19 echo "Doesn't trigger __unset.\n";
30 Doesn't trigger __unset.
H A DarrayObject_magicMethods5.phpt29 function __unset($name) {
177 In UsesMagic::__unset(a)
178 In UsesMagic::__unset(nonexistent)
179 In UsesMagic::__unset(dynamic)
H A DarrayObject_magicMethods1.phpt24 function __unset($name) {
H A DarrayObject_magicMethods2.phpt24 function __unset($name) {
H A DarrayObject_magicMethods3.phpt24 function __unset($name) {
H A DarrayObject_magicMethods4.phpt29 function __unset($name) {
H A DarrayObject_magicMethods6.phpt29 function __unset($name) {
/PHP-7.1/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.1/ext/soap/tests/
H A Dclassmap004.phpt20 function __unset($name) {
/PHP-7.1/ext/opcache/
H A Dzend_persist.c830 if (ce->__unset) { in zend_update_parent_ce()
831 ce->__unset = zend_shared_alloc_get_xlat_entry(ce->__unset); in zend_update_parent_ce()
H A Dzend_file_cache.c694 SERIALIZE_PTR(ce->__unset); in zend_file_cache_serialize_class()
1304 UNSERIALIZE_PTR(ce->__unset); in zend_file_cache_unserialize_class()
/PHP-7.1/Zend/
H A Dzend.h137 union _zend_function *__unset; member
H A Dzend_inheritance.c111 if (EXPECTED(!ce->__unset)) { in do_inherit_parent_constructor()
112 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor()
1132 ce->__unset = fe; in zend_add_magic_methods()
H A Dzend_API.c2125 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2290 __unset = reg_function; in zend_register_functions()
2334 scope->__unset = __unset; in zend_register_functions()
2388 if (__unset) { in zend_register_functions()
2389 if (__unset->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2390 …ype, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__unset->common.function_… in zend_register_functions()
2392 __unset->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend_object_handlers.c251 zend_call_method_with_1_params(object, ce, &ce->__unset, ZEND_UNSET_FUNC_NAME, NULL, member); in zend_std_call_unsetter()
983 …property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (zobj->ce->__unset != NULL),… in zend_std_unset_property()
1013 if (zobj->ce->__unset) { in zend_std_unset_property()

Completed in 44 milliseconds

12