Searched refs:__unset (Results 1 – 25 of 35) sorted by relevance
12
2 Enum __unset9 public function __unset($property) {16 Fatal error: Enum Foo cannot include magic method __unset in %s on line %d
2 errmsg: __unset() must take exactly 1 argument7 function __unset() {14 Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d
2 Testing __unset declaring as static7 static function __unset($a) {14 Fatal error: Method foo::__unset() cannot be static in %s on line %d
2 Testing __unset with private visibility7 private function __unset($a) {14 Warning: The magic method foo::__unset() must have public visibility in %s on line %d
2 Testing __unset() with protected visibility7 protected function __unset($a) {14 Warning: The magic method foo::__unset() must have public visibility in %s on line %d
2 __unset first parameter should be a string when typed6 function __unset(array $name) {}10 Fatal error: Foo::__unset(): Parameter #1 ($name) must be of type string when declared in %s on lin…
2 passing parameter of __unset() by ref7 function __unset(&$name) { }18 Fatal error: Method test::__unset() cannot take arguments by reference in %s on line %d
7 function __unset($prop) {21 #0 %s(%d): A->__unset('\x00')
22 public function __unset($name) {23 echo "__unset($name)\n";
2 Bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early)
32 public function __unset(string $name): void {}64 public function __unset(string|array $name): void {}
7 function __unset($a) {
29 public function __unset($k) {
16 function __unset($var) {
2 __unset can only declare void return6 function __unset($name) : bool {}10 Fatal error: Foo::__unset(): Return type must be void when declared in %s on line %d
9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; }19 echo "Doesn't trigger __unset.\n";30 Doesn't trigger __unset.
29 function __unset($name) {177 In UsesMagic::__unset(a)178 In UsesMagic::__unset(nonexistent)179 In UsesMagic::__unset(dynamic)
24 function __unset($name) {
29 function __unset($name) {
19 public function __unset($name) {20 echo "__unset ", $name, "\n";
22 public function __unset($name) {74 Test::__unset(prop)
49 public function __unset($a) {}145 Modifiers for method TestClass::__unset():233 Modifiers for method TestClass::__unset():
20 function __unset($name) {
Completed in 18 milliseconds