Home
last modified time | relevance | path

Searched refs:private (Results 26 – 50 of 746) sorted by relevance

12345678910>>...30

/PHP-7.4/Zend/tests/
H A Dbug74862.phpt2 Bug #74862 (Unable to clone instance when private __clone defined)
7 private function __clone()
12 private function __construct()
34 // private constructor
37 // private clone
H A Dbug72496.phpt2 Bug #72496 (declare public method with signature incompatible with parent private method should not…
7 private function getFoo()
12 private function getBar()
17 private function getBaz()
35 private function getBaz($extraArgument)
H A Dbug74862_2.phpt2 Bug #74862 (Unable to clone instance when private __clone defined in a child class)
10 private function __clone()
15 private function __construct()
37 // private constructor
40 // private clone
H A Dbug26010.phpt2 Bug #26010 (private / protected variables get exposed by get_object_vars())
6 private $private = 'private';
/PHP-7.4/ext/spl/tests/
H A DarrayObject___construct_basic6.phpt6 private $priv1 = 'secret1';
28 ["storage":"ArrayObject":private]=>
41 ["storage":"ArrayObject":private]=>
52 ["priv1":"MyArrayObject":private]=>
56 ["storage":"ArrayObject":private]=>
67 ["priv1":"MyArrayObject":private]=>
71 ["storage":"ArrayObject":private]=>
H A Darray_017.phpt10 private $pri2 = 3;
38 private $pri1 = 3;
160 ["pri1":"ArrayObjectEx":private]=>
166 ["storage":"ArrayObject":private]=>
203 ["pri2":"ArrayIteratorEx":private]=>
215 ["pri1":"ArrayObjectEx":private]=>
271 ["pri2":"ArrayIteratorEx":private]=>
349 ["pri1":"ArrayObjectEx":private]=>
355 ["storage":"ArrayObject":private]=>
540 ["pri1":"ArrayObjectEx":private]=>
[all …]
H A Dfileobject_003.phpt54 ["pathName":"SplFileInfo":private]=>
56 ["fileName":"SplFileInfo":private]=>
60 ["pathName":"SplFileInfo":private]=>
62 ["fileName":"SplFileInfo":private]=>
80 ["pathName":"SplFileInfo":private]=>
82 ["fileName":"SplFileInfo":private]=>
86 ["pathName":"SplFileInfo":private]=>
88 ["fileName":"SplFileInfo":private]=>
98 ["pathName":"SplFileInfo":private]=>
100 ["fileName":"SplFileInfo":private]=>
[all …]
H A Dbug42654.phpt27 ["storage":"ArrayIterator":private]=>
46 ["storage":"ArrayIterator":private]=>
66 ["storage":"ArrayIterator":private]=>
78 ["storage":"ArrayIterator":private]=>
91 ["storage":"ArrayIterator":private]=>
98 ["storage":"ArrayIterator":private]=>
106 ["storage":"ArrayIterator":private]=>
125 ["storage":"ArrayIterator":private]=>
H A Dbug41692.phpt7 private $foo = array( 1, 2, 3 );
25 ["foo":"Bar":private]=>
34 ["storage":"ArrayObject":private]=>
45 ["foo":"Bar":private]=>
54 ["storage":"ArrayObject":private]=>
H A DarrayObject_exchangeArray_basic2.phpt40 ["storage":"ArrayObject":private]=>
50 ["storage":"ArrayObject":private]=>
60 ["storage":"ArrayObject":private]=>
62 ["storage":"ArrayObject":private]=>
73 ["storage":"ArrayObject":private]=>
75 ["storage":"ArrayIterator":private]=>
86 ["storage":"ArrayObject":private]=>
88 ["storage":"ArrayObject":private]=>
90 ["storage":"ArrayObject":private]=>
H A Dfileobject_getfileinfo_basic.phpt23 ["pathName":"SplFileInfo":private]=>
25 ["fileName":"SplFileInfo":private]=>
31 ["pathName":"SplFileInfo":private]=>
33 ["fileName":"SplFileInfo":private]=>
39 ["pathName":"SplFileInfo":private]=>
41 ["fileName":"SplFileInfo":private]=>
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_export_basic2.phpt2 ReflectionClass::__toString() - ensure inherited private props are hidden.
6 private $a;
7 static private $b;
23 Property [ private static $b ]
30 Property [ <default> private $a ]
H A DReflectionMethod_setAccessible.phpt6 private function aPrivate($a) { print __METHOD__ . "\n"; }
7 private static function aPrivateStatic($a) { print __METHOD__ . "\n"; }
12 $private = new ReflectionMethod('A', 'aPrivate');
18 $private->invoke(new A, NULL);
26 $private->invokeArgs(new A, array(NULL));
81 $private->setAccessible(TRUE);
86 $private->invoke(new A, NULL);
87 $private->invokeArgs(new A, array(NULL));
96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
[all …]
H A DReflectionMethod_defaultArg.phpt6 private function bar($a = self::class) {}
11 private function bar($a = self::class) {}
24 Method [ <user> private method bar ] {
31 Method [ <user> private method bar ] {
38 Method [ <user> private method bar ] {
H A Dbug39067.phpt2 Bug #39067 (getDeclaringClass() and private properties)
7 private $x;
11 private $x;
15 private $x;
28 private $x;
H A DReflectionClass_toString_003.phpt2 …verify 'inherits', 'overwrites' and 'prototype' parts of method representation with private methods
9 private function f() {}
12 private function f() {}
18 private function f() {}
45 Method [ <user> private method f ] {
69 Method [ <user, overwrites A> private method f ] {
114 Method [ <user, overwrites B> private method f ] {
H A Dbug76936.phpt2 Bug #76936: Objects cannot access their private attributes while handling reflection errors
12 private $private = 'THIS IS PRIVATE'."\n";
22 private function handleError($errno, $errstr, $errfile, $errline, $errmodule = null) {
26 // objects and their private attributes once we reach in this state.
27 echo $this->private;
/PHP-7.4/tests/classes/
H A Dprivate_members.phpt2 ZE2 A private member is
8 private $member;
61 [member:base:private] => base::member
67 [member:base:private] => base::member
74 [member:base:private] => base::member
80 [member:base:private] => base::member
86 [member:base:private] => base::member
93 [member:base:private] => base::member
99 [member:base:private] => base::member
H A Dinheritance_006.phpt6 private $c;
10 private $c;
20 ["c":"B":private]=>
22 ["c":"A":private]=>
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug71940.phpt8 private $role;
18 private $identity;
51 [identity:Entry:private] => Identity Object
53 [role:Identity:private] => test
60 [identity:Entry:private] => Identity Object
62 [role:Identity:private] => test
H A Dbug81163.phpt7 private $private = 'private';
21 Notice: serialize(): "private" returned as member variable from __sleep() but does not exist in %s …
/PHP-7.4/ext/standard/tests/array/
H A Drsort_object2.phpt20 private $private_class_value;
36 private $private_class_value;
105 ["private_class_value":"for_integer_rsort":private]=>
114 ["private_class_value":"for_integer_rsort":private]=>
123 ["private_class_value":"for_integer_rsort":private]=>
132 ["private_class_value":"for_integer_rsort":private]=>
144 ["private_class_value":"for_string_rsort":private]=>
153 ["private_class_value":"for_string_rsort":private]=>
162 ["private_class_value":"for_string_rsort":private]=>
171 ["private_class_value":"for_string_rsort":private]=>
[all …]
H A Dasort_object2.phpt23 private $private_class_value;
38 private $private_class_value;
101 ["private_class_value":"for_integer_asort":private]=>
110 ["private_class_value":"for_integer_asort":private]=>
119 ["private_class_value":"for_integer_asort":private]=>
128 ["private_class_value":"for_integer_asort":private]=>
140 ["private_class_value":"for_string_asort":private]=>
149 ["private_class_value":"for_string_asort":private]=>
158 ["private_class_value":"for_string_asort":private]=>
167 ["private_class_value":"for_string_asort":private]=>
[all …]
H A Dsort_object2.phpt21 private $private_class_value;
36 private $private_class_value;
104 ["private_class_value":"for_integer_sort":private]=>
113 ["private_class_value":"for_integer_sort":private]=>
122 ["private_class_value":"for_integer_sort":private]=>
131 ["private_class_value":"for_integer_sort":private]=>
143 ["private_class_value":"for_string_sort":private]=>
152 ["private_class_value":"for_string_sort":private]=>
161 ["private_class_value":"for_string_sort":private]=>
170 ["private_class_value":"for_string_sort":private]=>
[all …]
H A Darsort_object2.phpt23 private $private_class_value;
38 private $private_class_value;
101 ["private_class_value":"for_integer_arsort":private]=>
110 ["private_class_value":"for_integer_arsort":private]=>
119 ["private_class_value":"for_integer_arsort":private]=>
128 ["private_class_value":"for_integer_arsort":private]=>
140 ["private_class_value":"for_string_arsort":private]=>
149 ["private_class_value":"for_string_arsort":private]=>
158 ["private_class_value":"for_string_arsort":private]=>
167 ["private_class_value":"for_string_arsort":private]=>
[all …]

Completed in 38 milliseconds

12345678910>>...30