Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 725) sorted by relevance

12345678910>>...29

/PHP-7.2/ext/standard/tests/serialize/
H A Dbug49649_2.phpt2 Bug #49649 (unserialize() doesn't handle changes in property visibility) - to private
9 * private $private = 1;
26 private $public = null;
28 private $protected = null;
30 private $private = null;
37 ["public":"Foo":private]=>
39 ["protected":"Foo":private]=>
41 ["private":"Foo":private]=>
/PHP-7.2/Zend/tests/traits/
H A Dproperty008.phpt2 Handling of private fields with traits needs to have same semantics as with normal inheritance.
8 private $hello = 0;
13 private $hello = 0;
19 private $hello = 0;
46 ["hello":"SubclassClassicInheritance":private]=>
48 ["hello":"BaseWithPropA":private]=>
52 ["hello":"SubclassA":private]=>
54 ["hello":"BaseWithPropA":private]=>
58 ["hello":"SubclassB":private]=>
60 ["hello":"BaseWithTPropB":private]=>
/PHP-7.2/ext/reflection/tests/
H A DReflectionProperty_setAccessible.phpt8 private $private = 'c';
9 private static $privateStatic = 'd';
17 $private = new ReflectionProperty($a, 'private');
54 $private->setAccessible(TRUE);
59 var_dump($private->getValue($a));
64 $private->setValue($a, 'g');
69 var_dump($private->getValue($a));
76 $private = new ReflectionProperty($a, 'private');
104 $private->setAccessible(TRUE);
108 var_dump($private->getValue($b));
[all …]
H A DReflectionProperty_constructor_variation1.phpt2 ReflectionProperty::__construct(): ensure inherited private props can't be accessed through Reflect…
7 private $p = 1;
30 echo "--> Reflect inherited private from global scope:\n";
38 echo "\n\n--> Reflect inherited private from declaring scope:\n";
41 echo "\n\n--> Reflect inherited private from declaring scope via subclass:\n";
44 echo "\n\n--> Reflect inherited private from subclass:\n";
48 --> Reflect inherited private from global scope:
51 --> Reflect inherited private from declaring scope:
54 --> Reflect inherited private from declaring scope via subclass:
57 --> Reflect inherited private from subclass:
H A Dbug37964.phpt2 Reflection Bug #37964 (Reflection shows private methods of parent class)
7 private function test2() {
11 private $foo = 1;
12 private function test() {
18 private function foobar() {
42 Method [ <user> private method foobar ] {
/PHP-7.2/Zend/tests/
H A Dlsb_018.phpt7 static private $instances = array();
8 static private $nextInstanceId = 0;
9 private $instanceId = NULL;
60 ["instanceId":"Singleton":private]=>
64 ["instanceId":"Singleton":private]=>
68 ["instanceId":"Singleton":private]=>
72 ["instanceId":"Singleton":private]=>
76 ["instanceId":"Singleton":private]=>
80 ["instanceId":"Singleton":private]=>
84 ["instanceId":"Singleton":private]=>
[all …]
H A Dbug60536_003.phpt8 private $hello = 0;
12 private $hello = 0;
36 ["hello":"SubclassA":private]=>
38 ["hello":"BaseWithPropA":private]=>
42 ["hello":"SubclassB":private]=>
44 ["hello":"BaseWithTPropB":private]=>
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
/PHP-7.2/tests/classes/
H A Dproperty_recreate_private.phpt2 Unsetting and recreating private properties.
6 private $p = 'test';
21 echo "Unset and recreate a superclass's private property:\n";
40 echo "\n\nUnset and recreate a private property:\n";
54 Unset and recreate a superclass's private property:
56 ["p":"C":private]=>
60 Unset superclass's private property, and recreate it as public in subclass:
66 Unset superclass's private property, and recreate it as public at global scope:
73 Unset and recreate a private property:
75 ["p":"C":private]=>
[all …]
H A Dprivate_members_serialization.phpt2 Verifies that it is possible to return private member names of parent classes in __sleep
7 private $private = 'private';
16 return array("\0foo\0private", 'protected', 'public');
23 string(114) "O:3:"bar":3:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected"…
H A Dbug26737.phpt2 Bug #26737 (Protected and private variables are not saved on serialization when a user defined __sl…
7 private $private = 'private';
13 return array('private', 'protected', 'public', 'no_such');
22 string(130) "O:3:"foo":4:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected"…
H A Darray_conversion_keys.phpt7 private $private = 'private';
15 '' . "\0" . 'foo' . "\0" . 'private' => 'private',
/PHP-7.2/ext/standard/tests/general_functions/
H A Dprint_r.phpt152 private $private_var1 = 20;
153 private $private_var2;
170 private function foo3() {
185 private $class_object3;
969 [private_var1:object_class:private] => 20
970 [private_var2:object_class:private] => 21
980 [private_var1:object_class:private] => 20
981 [private_var2:object_class:private] => 21
991 [private_var1:object_class:private] => 20
992 [private_var2:object_class:private] => 21
[all …]
H A Dprint_r_64bit.phpt152 private $private_var1 = 20;
153 private $private_var2;
170 private function foo3() {
185 private $class_object3;
969 [private_var1:object_class:private] => 20
970 [private_var2:object_class:private] => 21
980 [private_var1:object_class:private] => 20
981 [private_var2:object_class:private] => 21
991 [private_var1:object_class:private] => 20
992 [private_var2:object_class:private] => 21
[all …]
/PHP-7.2/ext/spl/tests/
H A Darray_023.phpt10 private $foo = 'c';
26 private $foo = 'ccc';
45 ["foo":"Name":private]=>
47 ["storage":"ArrayObject":private]=>
57 ["foo":"Name":private]=>
59 ["storage":"ArrayObject":private]=>
69 ["foo":"Bla":private]=>
71 ["storage":"ArrayObject":private]=>
81 ["foo":"Bla":private]=>
83 ["storage":"ArrayObject":private]=>
H A Darray_007.phpt6 // This test also needs to exclude the protected and private variables
14 private $pri = "private";
48 [pri:test:private] => private
54 [storage:ArrayIterator:private] => ArrayObject Object
56 [storage:ArrayObject:private] => test Object
60 [pri:test:private] => private
H A Darray_003.phpt6 // This test also needs to exclude the protected and private variables
14 private $pri = "private";
44 [pri:test:private] => private
50 [storage:ArrayObject:private] => test Object
54 [pri:test:private] => private
H A DSplDoublyLinkedList_serialization.phpt22 ["flags":"SplDoublyLinkedList":private]=>
24 ["dllist":"SplDoublyLinkedList":private]=>
34 ["flags":"SplDoublyLinkedList":private]=>
36 ["dllist":"SplDoublyLinkedList":private]=>
45 ["flags":"SplDoublyLinkedList":private]=>
47 ["dllist":"SplDoublyLinkedList":private]=>
57 ["flags":"SplDoublyLinkedList":private]=>
59 ["dllist":"SplDoublyLinkedList":private]=>
H A Dobserver_005.phpt11 private $pri = 27;
30 private $pri = 27;
86 ["pri":"TestClass":private]=>
96 ["pri":"TestClass":private]=>
106 ["pri":"MyStorage":private]=>
120 ["pri":"TestClass":private]=>
136 ["pri":"TestClass":private]=>
154 ["pri":"TestClass":private]=>
164 ["pri":"TestClass":private]=>
174 ["pri":"MyStorage":private]=>
[all …]
H A DSplTempFileObject_constructor_basic.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
13 ["openMode":"SplFileObject":private]=>
15 ["delimiter":"SplFileObject":private]=>
17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
13 ["openMode":"SplFileObject":private]=>
15 ["delimiter":"SplFileObject":private]=>
17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_maxmemory_basic.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
13 ["openMode":"SplFileObject":private]=>
15 ["delimiter":"SplFileObject":private]=>
17 ["enclosure":"SplFileObject":private]=>
H A Dbug64782.phpt11 ["pathName":"SplFileInfo":private]=>
13 ["fileName":"SplFileInfo":private]=>
15 ["openMode":"SplFileObject":private]=>
17 ["delimiter":"SplFileObject":private]=>
19 ["enclosure":"SplFileObject":private]=>
H A Darray_017.phpt10 private $pri2 = 3;
38 private $pri1 = 3;
156 ["pri1":"ArrayObjectEx":private]=>
162 ["storage":"ArrayObject":private]=>
195 ["pri2":"ArrayIteratorEx":private]=>
207 ["pri1":"ArrayObjectEx":private]=>
259 ["pri2":"ArrayIteratorEx":private]=>
337 ["pri1":"ArrayObjectEx":private]=>
343 ["storage":"ArrayObject":private]=>
528 ["pri1":"ArrayObjectEx":private]=>
[all …]
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]=>

Completed in 55 milliseconds

12345678910>>...29