Home
last modified time | relevance | path

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

12

/PHP-5.5/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) {
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-5.5/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-5.5/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-5.5/ext/soap/tests/
H A Dclassmap004.phpt20 function __unset($name) {
/PHP-5.5/ext/opcache/
H A Dzend_persist.c644 if (ce->__unset) {
645 ce->__unset = zend_shared_alloc_get_xlat_entry(ce->__unset);
646 ce->__unset->op_array.refcount++;
H A Dzend_accelerator_util_funcs.c727 zend_update_inherited_handler(__unset);
/PHP-5.5/Zend/
H A Dzend_object_handlers.c210 zend_call_method_with_1_params(&object, ce, &ce->__unset, ZEND_UNSET_FUNC_NAME, NULL, member); in zend_std_call_unsetter()
812 …property_info = zend_get_property_info_quick(zobj->ce, member, (zobj->ce->__unset != NULL), key TS… in zend_std_unset_property()
826 if (zobj->ce->__unset && in zend_std_unset_property()
838 } else if (zobj->ce->__unset && guard && guard->in_unset == 1) { in zend_std_unset_property()
H A Dzend_API.c2035 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2175 __unset = reg_function; in zend_register_functions()
2214 scope->__unset = __unset; in zend_register_functions()
2267 if (__unset) { in zend_register_functions()
2268 if (__unset->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2269 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __unset->common.function_n… in zend_register_functions()
2271 __unset->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend.h498 union _zend_function *__unset; member
H A Dzend_API.h196 class_container.__unset = handle_propunset; \
H A Dzend_compile.c1674 CG(active_class_entry)->__unset = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
3022 if (!ce->__unset) { in do_inherit_parent_constructor()
3023 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor()
3858 ce->__unset = fe; in zend_add_magic_methods()
6859 ce->__unset = NULL; in zend_initialize_class_data()

Completed in 104 milliseconds

12