Searched refs:__get (Results 1 – 25 of 143) sorted by relevance
123456
80 string(8) "T::__get"84 [1] => Model::__get87 string(8) "Y::__get"89 string(8) "T::__get"94 [2] => Y::__get97 string(8) "Z::__get"100 string(8) "T::__get"106 [3] => Z::__get109 string(8) "P::__get"112 string(8) "T::__get"[all …]
2 Bug #74340: Magic function __get has different behavior in php 7.1.x7 public function __get($var)10 echo '__get '.$var.PHP_EOL;25 __get test28 __get test2
6 public function __get(string|array $name): mixed {} // valid10 public function __get(string|array|object $name): int {} // also valid14 public function __get(string|array $name): int {} // this is invalid18 Fatal error: Declaration of C::__get(array|string $name): int must be compatible with B::__get(obje…
6 public function __get(string|array $name): mixed {} // valid10 public function __get(string|array|object $name): int {} // also valid14 public function __get(string|array|object $name): int|float {} // this is invalid18 Fatal error: Declaration of C::__get(object|array|string $name): int|float must be compatible with …
11 public function &__get($name) {12 echo "__get($name)\n";48 __get(zero)51 __get(zero)53 __get(one)57 __get(zero)59 __get(one)
21 function __get($name) {22 echo '__get ' . $name . "\n";54 __get nonExisting57 __get publicProperty60 __get protectedProperty63 __get privateProperty
2 __get first parameter should be a string when typed6 function __get(int $name) {}10 Fatal error: Foo::__get(): Parameter #1 ($name) must be of type string when declared in %s on line …
2 passing parameter of __get() by ref7 function __get(&$name) { }17 Fatal error: Method test::__get() cannot take arguments by reference in %s on line %d
30 function __get($prop)64 Overloaded::__get(y)71 Overloaded::__get(z)73 Overloaded::__get(z)75 Overloaded::__get(z)
2 Bug #48248 (SIGSEGV when access to private property via &__get)8 public function & __get($name)26 #0 %s(%d): A->__get('test')
7 function __get($x) {43 #0 %s(%d): Obj->__get('x')47 #0 %s(%d): Obj->__get('x')51 #0 %s(%d): Obj->__get('x')
2 Bug #66609 (php crashes with __get() and ++ operator in some cases)8 public function __get($x) {15 public function __get($x) {
2 Bug #30889 (Conflict between __get/__set and ++ operator)17 function __get($name)24 $test->a++; // __get(), then __set()
2 Bug #38624 (Strange warning when incrementing an object property and exception is thrown from __get…17 public function __get( $name )31 #0 %s(%d): impl->__get('counter')
2 Destroy object in magic __get()6 function __get($name) {
2 ZE2 __set() and __get()9 function __get($name) {30 function __get($name) {52 AutoGen::__get54 AutoGen::__get62 AutoGen::__get63 Test::__get
2 ZE2 __get() signature check6 function __get($x,$y) {12 Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d
2 Enum __get9 public function __get(string $name)11 return '__get';17 Fatal error: Enum Foo cannot include magic method __get in %s on line %d
2 Test typed properties unset __get magical magic8 public function __get($name) {19 var_dump($foo->bar); # not okay, __get is nasty22 Fatal error: Uncaught TypeError: Value of type string returned from Foo::__get() must be compatible…
2 Test __get on unset typed property must fail properly10 public function __get($name) {23 Fatal error: Uncaught TypeError: Value of type null returned from Foo::__get() must be compatible w…
2 Typed property must be compatible when returned via &__get()10 public function &__get($name) {35 Value of type string returned from Test::__get() must be compatible with unset property Test::$val …
14 public function __get($name) {15 return "__get($this->prop)";26 string(13) "__get(foobar)"
17 public function __get($name) {18 var_dump("__get");40 string(5) "__get"
29 public function __get($name) {38 var_dump($test->prop); // Call __get.39 var_dump($test->prop); // Don't call __get.60 Test2::__get
6 public function __get($name): bool {}13 public function __get($name): string|array {}20 public function __get($name): mixed {}
Completed in 23 milliseconds