/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug49649_2.phpt | 2 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 D | property008.phpt | 2 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 D | ReflectionProperty_setAccessible.phpt | 8 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 D | ReflectionProperty_constructor_variation1.phpt | 2 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 D | bug37964.phpt | 2 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 D | lsb_018.phpt | 7 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 D | bug60536_003.phpt | 8 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 D | bug74862.phpt | 2 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 D | property_recreate_private.phpt | 2 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 D | private_members_serialization.phpt | 2 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 D | bug26737.phpt | 2 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 D | array_conversion_keys.phpt | 7 private $private = 'private'; 15 '' . "\0" . 'foo' . "\0" . 'private' => 'private',
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | print_r.phpt | 152 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 D | print_r_64bit.phpt | 152 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 D | array_023.phpt | 10 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 D | array_007.phpt | 6 // 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 D | array_003.phpt | 6 // 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 D | SplDoublyLinkedList_serialization.phpt | 22 ["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 D | observer_005.phpt | 11 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 D | SplTempFileObject_constructor_basic.phpt | 9 ["pathName":"SplFileInfo":private]=> 11 ["fileName":"SplFileInfo":private]=> 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_memory_lt1_variation.phpt | 9 ["pathName":"SplFileInfo":private]=> 11 ["fileName":"SplFileInfo":private]=> 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_maxmemory_basic.phpt | 9 ["pathName":"SplFileInfo":private]=> 11 ["fileName":"SplFileInfo":private]=> 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | bug64782.phpt | 11 ["pathName":"SplFileInfo":private]=> 13 ["fileName":"SplFileInfo":private]=> 15 ["openMode":"SplFileObject":private]=> 17 ["delimiter":"SplFileObject":private]=> 19 ["enclosure":"SplFileObject":private]=>
|
H A D | array_017.phpt | 10 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 D | arrayObject___construct_basic6.phpt | 6 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]=>
|