/PHP-8.1/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; 38 ["public":"Foo":private]=> 40 ["protected":"Foo":private]=> 42 ["private":"Foo":private]=>
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionProperty_setAccessible.phpt | 8 private $private = 'c'; 17 $private = new ReflectionProperty($a, 'private'); 22 var_dump($private->getValue($a)); 27 $private->setValue($a, 'g'); 32 var_dump($private->getValue($a)); 37 $private->setAccessible(FALSE); 47 $private->setValue($a, 'k'); 59 $private = new ReflectionProperty($a, 'private'); 67 $private->setValue($b, 'g'); 75 $private->setAccessible(FALSE); [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-8.1/Zend/tests/traits/ |
H A D | property008.phpt | 2 Handling of private fields with traits needs to have same semantics as with normal inheritance. 7 private $hello = 0; 12 private $hello = 0; 18 private $hello = 0; 45 ["hello":"BaseWithPropA":private]=> 47 ["hello":"SubclassClassicInheritance":private]=> 51 ["hello":"BaseWithPropA":private]=> 53 ["hello":"SubclassA":private]=> 57 ["hello":"BaseWithTPropB":private]=> 59 ["hello":"SubclassB":private]=>
|
/PHP-8.1/Zend/tests/ |
H A D | lsb_018.phpt | 7 static private $instances = array(); 8 static private $nextInstanceId = 0; 9 private $instanceId = NULL; 59 ["instanceId":"Singleton":private]=> 63 ["instanceId":"Singleton":private]=> 67 ["instanceId":"Singleton":private]=> 71 ["instanceId":"Singleton":private]=> 75 ["instanceId":"Singleton":private]=> 79 ["instanceId":"Singleton":private]=> 83 ["instanceId":"Singleton":private]=> [all …]
|
H A D | bug79862.phpt | 2 Bug #79862: Public non-static property in child should take priority over private static 7 private static $prop1; 8 private static $prop2; 9 private $prop3; 10 private $prop4; 11 private static $prop5; 12 private static $prop6; 48 ["prop3":"a":private]=> 50 ["prop4":"a":private]=>
|
H A D | bug60536_003.phpt | 7 private $hello = 0; 11 private $hello = 0; 35 ["hello":"BaseWithPropA":private]=> 37 ["hello":"SubclassA":private]=> 41 ["hello":"BaseWithTPropB":private]=> 43 ["hello":"SubclassB":private]=>
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | print_r.phpt | 143 private $private_var1 = 20; 144 private $private_var2; 161 private function foo3() { 176 private $class_object3; 939 [private_var1:object_class:private] => 20 940 [private_var2:object_class:private] => 21 950 [private_var1:object_class:private] => 20 951 [private_var2:object_class:private] => 21 961 [private_var1:object_class:private] => 20 962 [private_var2:object_class:private] => 21 [all …]
|
H A D | print_r_64bit.phpt | 147 private $private_var1 = 20; 148 private $private_var2; 165 private function foo3() { 180 private $class_object3; 943 [private_var1:object_class:private] => 20 944 [private_var2:object_class:private] => 21 954 [private_var1:object_class:private] => 20 955 [private_var2:object_class:private] => 21 965 [private_var1:object_class:private] => 20 966 [private_var2:object_class:private] => 21 [all …]
|
/PHP-8.1/tests/classes/ |
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 | 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 | 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(114) "O:3:"foo":3:{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',
|
H A D | inheritance_008.phpt | 2 Ensure private methods with the same name are not checked for inheritance rules - static 6 static private function foo() { } 7 private function bar() {} 10 private function foo() {} 11 static private function bar() {}
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_101.phpt | 2 Dumping of uninitialized typed properties (including private ones) 9 private string $private; 27 ["private":"Test":private]=> 35 ["private":"Test":private]=>
|
/PHP-8.1/ext/spl/tests/ |
H A D | array_007.phpt | 6 // This test also needs to exclude the protected and private variables 14 private $pri = "private"; 46 [pri:test:private] => private 52 [storage:ArrayIterator:private] => ArrayObject Object 54 [storage:ArrayObject:private] => test Object 58 [pri:test:private] => private
|
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_003.phpt | 6 // This test also needs to exclude the protected and private variables 14 private $pri = "private"; 42 [pri:test:private] => private 48 [storage:ArrayObject:private] => test Object 52 [pri:test:private] => private
|
H A D | bug78436.phpt | 14 ["flags":"SplPriorityQueue":private]=> 16 ["isCorrupted":"SplPriorityQueue":private]=> 18 ["heap":"SplPriorityQueue":private]=> 31 ["flags":"SplPriorityQueue":private]=> 33 ["isCorrupted":"SplPriorityQueue":private]=> 35 ["heap":"SplPriorityQueue":private]=>
|
H A D | observer_005.phpt | 11 private $pri = 27; 30 private $pri = 27; 84 ["pri":"TestClass":private]=> 94 ["pri":"TestClass":private]=> 104 ["pri":"MyStorage":private]=> 118 ["pri":"TestClass":private]=> 134 ["pri":"TestClass":private]=> 152 ["pri":"TestClass":private]=> 162 ["pri":"TestClass":private]=> 172 ["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 | 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 | 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]=>
|