Home
last modified time | relevance | path

Searched refs:__set (Results 1 – 25 of 99) sorted by relevance

1234

/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetchobject.phpt92 myclass::__set(id, -'1'-) 1
93 myclass::__set(, -''-) 2
94 myclass::__set(null, -NULL-) 3
95 myclass::__set(, -''-) 4
97 myclass::__set(id, -'2'-) 1
98 myclass::__set(, -''-) 2
99 myclass::__set(null, -NULL-) 3
100 myclass::__set(, -''-) 4
102 myclass::__set(id, -'3'-) 1
103 myclass::__set(, -''-) 2
[all …]
/PHP-8.3/Zend/tests/type_declarations/
H A Dtyped_properties_magic_set.phpt2 __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.3/Zend/tests/
H A Dmagic_methods_008.phpt2 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 Dmagic_methods_007.phpt2 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 Dbug63462.phpt26 function __set($name, $value) {
27 echo '__set ' . $name . "\n";
70 __set nonExisting
71 __set publicProperty
72 __set protectedProperty
73 __set privateProperty
H A Dmagic_methods_011.phpt2 __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 Dmagic_by_ref_002.phpt2 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 Dmagic_by_ref_001.phpt2 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 Dbug52484_2.phpt2 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 Dbug38461.phpt2 Bug #38461 (setting private attribute with __set() produces segfault)
8 function __set( $var, $value )
27 #0 %s(%d): Operation->__set('x', 'test')
H A Dbug30889.phpt2 Bug #30889 (Conflict between __get/__set and ++ operator)
12 function __set($name, $value)
24 $test->a++; // __get(), then __set()
H A Dbug71359.phpt18 public function __set($name, $value) {
19 echo "__set($name)\n";
47 __set(zero)
49 __set(one)
H A Dbug52879.phpt2 Bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early)
7 public function __set($property,$value) {
H A Dbug34467.phpt2 Bug #34467 (foreach + __get + __set incosistency)
8 function __set ($key, $value) {
H A Dbug30394.phpt2 Bug #30394 (Assignment operators yield wrong result with __get/__set)
12 public function __set( $what, $value )
H A Dobjects_021.phpt2 Testing magic methods __set, __get and __call in cascade
13 public function __set($a, $b) {
/PHP-8.3/tests/classes/
H A D__set__get_003.phpt2 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.phpt2 ZE2 Data corruption in __set
17 function __set($prop, $val)
19 echo "__set";
H A D__set__get_005.phpt2 ZE2 __set() and __get()
20 function __set($name, $val) {
38 function __set($name, $val) {
53 Test::__set
H A Dunset_properties.phpt20 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.phpt2 ZE2 __set() and __get()
22 function __set($nm, $val) {
37 // this doesn't go through __set()... should it?
H A D__set__get_004.phpt2 ZE2 __set() and __get()
18 function __set($name, $val) {
/PHP-8.3/Zend/tests/enum/
H A D__set.phpt2 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.3/Zend/tests/return_types/
H A D033.phpt2 __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.3/ext/spl/tests/
H A Dbug45622b.phpt7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; }
16 echo "Doesn't trigger __set.\n";
29 Doesn't trigger __set.

Completed in 19 milliseconds

1234