/PHP-8.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetchobject.phpt | 95 myclass::__set(id, -'1'-) 1 96 myclass::__set(, -''-) 2 97 myclass::__set(null, -NULL-) 3 98 myclass::__set(, -''-) 4 100 myclass::__set(id, -'2'-) 1 101 myclass::__set(, -''-) 2 102 myclass::__set(null, -NULL-) 3 103 myclass::__set(, -''-) 4 105 myclass::__set(id, -'3'-) 1 106 myclass::__set(, -''-) 2 [all …]
|
/PHP-8.4/Zend/tests/type_declarations/ |
H A D | typed_properties_magic_set.phpt | 2 __set() should not be invoked when setting an uninitialized typed property 12 public function __set($name, $value) { 13 echo "__set ", $name, " = ", $value, "\n"; 34 // __set will be called after unset() 38 // __set will be called after unset() without prior initialization 67 __set foo = 42 68 __set foo = 42 70 __set foo = 42 71 __set foo = 42 73 __set foo = 42
|
/PHP-8.4/Zend/tests/ |
H A D | magic_methods_008.phpt | 2 Testing __set implementation with wrong declaration 7 abstract function __set($a, $b); 11 private function __set($a, $b) { 17 Warning: The magic method a::__set() must have public visibility in %s on line %d 19 Fatal error: Access level to a::__set() must be public (as in class b) in %s on line 8
|
H A D | magic_methods_007.phpt | 2 Testing __set() declaration in abstract class with wrong modifier 7 abstract protected function __set($a); 12 Fatal error: Method b::__set() must take exactly 2 arguments in %s on line %d
|
H A D | bug63462.phpt | 26 function __set($name, $value) { 27 echo '__set ' . $name . "\n"; 70 __set nonExisting 71 __set publicProperty 72 __set protectedProperty 73 __set privateProperty
|
H A D | magic_methods_011.phpt | 2 __set first parameter should be a string when typed 6 function __set(\Countable $name, $value) {} 10 Fatal error: Foo::__set(): Parameter #1 ($name) must be of type string when declared in %s on line …
|
H A D | magic_by_ref_002.phpt | 2 passing second parameter of __set() by ref 7 function __set($name, &$val) { } 16 Fatal error: Method test::__set() cannot take arguments by reference in %s on line %d
|
H A D | magic_by_ref_001.phpt | 2 passing first parameter of __set() by ref 7 function __set(&$name, $val) { } 17 Fatal error: Method test::__set() cannot take arguments by reference in %s on line %d
|
H A D | bug52484_2.phpt | 2 Bug #52484.2 (__set() ignores setting properties with empty names) 7 function __set($prop, $val) { 21 #0 %s(%d): A->__set('\x00', 2)
|
H A D | bug38461.phpt | 2 Bug #38461 (setting private attribute with __set() produces segfault) 8 function __set( $var, $value ) 27 #0 %s(%d): Operation->__set('x', 'test')
|
H A D | bug30889.phpt | 2 Bug #30889 (Conflict between __get/__set and ++ operator) 12 function __set($name, $value) 24 $test->a++; // __get(), then __set()
|
H A D | bug71359.phpt | 18 public function __set($name, $value) { 19 echo "__set($name)\n"; 47 __set(zero) 49 __set(one)
|
H A D | bug52879.phpt | 2 Bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early) 7 public function __set($property,$value) {
|
H A D | bug34467.phpt | 2 Bug #34467 (foreach + __get + __set inconsistency) 8 function __set ($key, $value) {
|
H A D | bug30394.phpt | 2 Bug #30394 (Assignment operators yield wrong result with __get/__set) 12 public function __set( $what, $value )
|
/PHP-8.4/tests/classes/ |
H A D | __set__get_003.phpt | 2 ZE2 __set() signature check 6 function __set() { 12 Fatal error: Method Test::__set() must take exactly 2 arguments in %s__set__get_003.php on line %d
|
H A D | __set_data_corrupt.phpt | 2 ZE2 Data corruption in __set 17 function __set($prop, $val) 19 echo "__set";
|
H A D | __set__get_005.phpt | 2 ZE2 __set() and __get() 20 function __set($name, $val) { 38 function __set($name, $val) { 53 Test::__set
|
H A D | unset_properties.phpt | 20 public function __set($name, $value) 23 echo '__set "' . $name . '" to "' . $value . '"'; 135 __set "publicProperty" to "new publicProperty value via setter" 137 __set "publicProperty" to "new publicProperty value via public access" 144 __set "protectedProperty" to "new protectedProperty value via setter" 151 __set "privateProperty" to "new privateProperty value via setter"
|
H A D | __set__get_001.phpt | 2 ZE2 __set() and __get() 22 function __set($nm, $val) { 37 // this doesn't go through __set()... should it?
|
H A D | __set__get_004.phpt | 2 ZE2 __set() and __get() 18 function __set($name, $val) {
|
/PHP-8.4/Zend/tests/enum/ |
H A D | __set.phpt | 2 Enum __set 9 public function __set(string $name, mixed $value) 16 Fatal error: Enum Foo cannot include magic method __set in %s on line %d
|
/PHP-8.4/Zend/tests/return_types/ |
H A D | 033.phpt | 2 __set can only declare void return 6 function __set($name, $value) : string {} 10 Fatal error: Foo::__set(): Return type must be void when declared in %s on line %d
|
/PHP-8.4/Zend/tests/asymmetric_visibility/ |
H A D | __set.phpt | 2 Asymmetric visibility __set 17 public function __set(string $name, mixed $value) { 43 Foo::Foo::__set
|
/PHP-8.4/ext/spl/tests/ |
H A D | bug45622b.phpt | 7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; } 16 echo "Doesn't trigger __set.\n"; 29 Doesn't trigger __set.
|