Home
last modified time | relevance | path

Searched refs:private (Results 76 – 100 of 746) sorted by relevance

12345678910>>...30

/PHP-7.4/Zend/tests/
H A Dbug61761.phpt2 Bug #61761 ('Overriding' a private static method with a different signature causes crash)
8 private static function test($a) { }
13 private static function test($a, $b) { }
H A Dbug78787.phpt2 Bug #78787: Segfault with trait overriding inherited private shadow property
7 private $prop;
11 private $prop;
H A Derrmsg_002.phpt2 errmsg: function cannot be declared private
7 abstract private function foo() {
14 Fatal error: Abstract function test::foo() cannot be declared private in %s on line %d
H A Dbug60536_004.phpt2 Introducing new private variables of the same name in a subclass is ok, and does not lead to any ou…
7 private $hello;
11 private $hello;
14 // Now we use the trait, which happens to introduce another private variable
27 private $hello;
H A Dbug33277.phpt2 Bug #33277 (private method accessed by child class)
6 private function bar() {
7 echo "private!\n";
H A Dget_class_vars_001.phpt8 private $b = 2;
9 private $c = 3;
14 static private $bb = 5;
H A Dbug73816.phpt9 return eval(sprintf('return new class { private $prop%s; };', ++$i));
18 ["prop1":"class@anonymous":private]=>
22 ["prop2":"class@anonymous":private]=>
H A Dbug41961.phpt2 Bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy)
13 private function secret() {
14 echo "Called private " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";
19 private function secret() { }
/PHP-7.4/ext/spl/tests/
H A Darray_025.phpt16 [storage:ArrayObject:private] => ArrayObject Object
18 [storage:ArrayObject:private] => Array
30 [storage:ArrayObject:private] => ArrayObject Object
32 [storage:ArrayObject:private] => Array
H A DarrayObject_magicMethods3.phpt10 private $priv = 'secret';
80 ["priv":"UsesMagic":private]=>
87 ["storage":"ArrayObject":private]=>
95 ["priv":"UsesMagic":private]=>
116 ["priv":"UsesMagic":private]=>
123 ["storage":"ArrayObject":private]=>
131 ["priv":"UsesMagic":private]=>
150 ["priv":"UsesMagic":private]=>
165 ["priv":"UsesMagic":private]=>
181 ["priv":"UsesMagic":private]=>
[all …]
H A Dbug71617.phpt2 Bug #71617: private properties lost when unserializing ArrayObject
9 private $name = null;
41 ["name":"Test":private]=>
43 ["storage":"ArrayObject":private]=>
H A Dheap_008.phpt18 ["flags":"SplHeap":private]=>
20 ["isCorrupted":"SplHeap":private]=>
22 ["heap":"SplHeap":private]=>
H A DarrayObject_magicMethods4.phpt10 private $priv = 'secret';
83 ["priv":"C":private]=>
92 ["storage":"ArrayObject":private]=>
100 ["priv":"C":private]=>
121 ["priv":"C":private]=>
130 ["storage":"ArrayObject":private]=>
138 ["priv":"C":private]=>
157 ["priv":"C":private]=>
174 ["priv":"C":private]=>
190 ["priv":"C":private]=>
[all …]
H A DarrayObject_magicMethods5.phpt10 private $priv = 'secret';
86 ["priv":"C":private]=>
93 ["storage":"ArrayObject":private]=>
101 ["priv":"C":private]=>
121 ["priv":"C":private]=>
128 ["storage":"ArrayObject":private]=>
136 ["priv":"C":private]=>
156 ["priv":"C":private]=>
171 ["priv":"C":private]=>
188 ["priv":"C":private]=>
[all …]
H A DarrayObject_magicMethods6.phpt10 private $priv = 'secret';
83 ["priv":"C":private]=>
92 ["storage":"ArrayObject":private]=>
100 ["priv":"C":private]=>
121 ["priv":"C":private]=>
130 ["storage":"ArrayObject":private]=>
138 ["priv":"C":private]=>
157 ["priv":"C":private]=>
174 ["priv":"C":private]=>
190 ["priv":"C":private]=>
[all …]
H A Dunserialize.phpt24 ["flags":"SplDoublyLinkedList":private]=>
26 ["dllist":"SplDoublyLinkedList":private]=>
32 ["storage":"SplObjectStorage":private]=>
38 ["storage":"ArrayObject":private]=>
/PHP-7.4/tests/lang/
H A D037.phpt2 'Static' binding for private variables
7 private $id="foo";
16 private $id = "bar";
/PHP-7.4/ext/standard/tests/array/
H A Dusort_object1.phpt43 private $int_value;
53 private $int_value;
92 ["int_value":"SimpleClass1":private]=>
97 ["int_value":"SimpleClass1":private]=>
102 ["int_value":"SimpleClass1":private]=>
107 ["int_value":"SimpleClass1":private]=>
115 ["int_value":"SimpleClass2":private]=>
124 ["int_value":"SimpleClass2":private]=>
133 ["int_value":"SimpleClass2":private]=>
H A Darray_fill_object.phpt53 //class with private member, static member, constant and constructor to initialize the private memb…
58 private $member1;
72 private $member1;
115 private $member2;
142 private $member2;
268 ["member1":"Test2":private]=>
277 ["member1":"Test2":private]=>
295 ["member1":"Test2":private]=>
306 ["member1":"Test2":private]=>
358 ["member2":"Test4":private]=>
[all …]
/PHP-7.4/Zend/tests/traits/
H A Dproperty006.phpt2 Introducing new private variables of the same name in a subclass is ok, and does not lead to any ou…
7 private $hello;
11 private $hello;
14 // Now we use the trait, which happens to introduce another private variable
27 private $hello;
/PHP-7.4/tests/classes/
H A Dconstants_visibility_error_001.phpt2 Class private constant visibility error
6 private const privateConst = 'privateConst';
13 Fatal error: Uncaught Error: Cannot access private const A::privateConst in %s:6
H A Dbug27504.phpt2 Bug #27504 (call_user_func_array allows calling of private/protected methods)
9 private function bar ( $param ) {
23 Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private m…
25 Fatal error: Uncaught Error: Call to private method foo::bar() from context '' in %s:%d
H A Dprivate_003.phpt2 ZE2 A private method cannot be called in a derived class
7 private static function show() {
27 fail::not_ok(); // calling a private function
34 Fatal error: Uncaught Error: Call to private method pass::show() from context 'fail' in %s:%d
H A Dprivate_003b.phpt2 ZE2 A private method cannot be called in a derived class
7 private function show() {
28 $t->not_ok(); // calling a private function
35 Fatal error: Uncaught Error: Call to private method pass::show() from context 'fail' in %s:%d
/PHP-7.4/Zend/tests/list/
H A Dlist_reference_007.phpt7 private $s = [];
34 ["s":"StorageRef":private]=>
43 ["s":"StorageRef":private]=>
54 ["s":"StorageRef":private]=>
68 ["s":"StorageRef":private]=>

Completed in 100 milliseconds

12345678910>>...30