Home
last modified time | relevance | path

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

12

/PHP-7.4/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 Dproperty_access_errors_for_guarded_properties.phpt29 public function __unset($k) {
H A Dbug33512.phpt16 function __unset($var) {
/PHP-7.4/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.4/Zend/tests/type_declarations/
H A Dtyped_properties_magic_set.phpt19 public function __unset($name) {
20 echo "__unset ", $name, "\n";
/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/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_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_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()

Completed in 101 milliseconds

12