/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug49649_1.phpt | 2 Bug #49649 (unserialize() doesn't handle changes in property visibility) - to protected 11 * protected $protected = 2; 26 protected $public = null; 28 protected $protected = null; 30 protected $private = null; 38 ["public":protected]=> 40 ["protected":protected]=> 42 ["private":protected]=>
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | file.h | 107 #ifndef protected 112 #ifndef protected 113 #define protected macro 465 protected struct magic_set *file_ms_alloc(int); 466 protected void file_ms_free(struct magic_set *); 471 protected int file_separator(struct magic_set *); 501 protected void file_badread(struct magic_set *); 502 protected void file_badseek(struct magic_set *); 507 protected void file_mdump(struct magic *); 509 protected size_t file_mbswidth(const char *); [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | bug21888.phpt | 2 Bug #21888 (protected property and protected method of the same name) 7 protected $prot = "protected property\n"; 9 protected function prot() { 10 print "protected method\n"; 31 protected method 32 protected property
|
H A D | bug45862.phpt | 2 Bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables) 14 static protected $prot = "protected var"; 34 string(13) "protected var" 36 string(13) "protected var" 41 string(13) "protected var"
|
H A D | overloaded_prop_assign_op_refs.phpt | 7 protected $a = 0; 8 protected $b = 0; 9 protected $c = 0; 41 ["a":protected]=> 43 ["b":protected]=> 45 ["c":protected]=>
|
H A D | bug37212.phpt | 2 Bug #37212 (Access to protected property of common base class) 8 protected $value; 15 protected function getValue() 43 ["value":protected]=> 47 ["value":protected]=> 51 ["value":protected]=>
|
H A D | bug26010.phpt | 2 Bug #26010 (private / protected variables get exposed by get_object_vars()) 7 protected $protected = 'protected';
|
H A D | bug37632.phpt | 8 protected function test() 25 protected function test() 36 static protected function test() 53 static protected function test() 61 /* Right now Ctor's cannot be made protected when defined in a ctor. That is 72 protected function __construct() 89 protected function __construct() 101 protected function __construct() 118 protected function __construct() 135 Fatal error: Uncaught Error: Call to protected C4::__construct() from scope B4 in %s:%d
|
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionProperty_setAccessible.phpt | 6 protected $protected = 'a'; 15 $protected = new ReflectionProperty($a, 'protected'); 21 var_dump($protected->getValue($a)); 52 $protected->setAccessible(TRUE); 57 var_dump($protected->getValue($a)); 62 $protected->setValue($a, 'e'); 67 var_dump($protected->getValue($a)); 74 $protected = new ReflectionProperty($b, 'protected'); 102 $protected->setAccessible(TRUE); 106 var_dump($protected->getValue($b)); [all …]
|
H A D | ReflectionMethod_setAccessible.phpt | 8 protected function aProtected($a) { print __METHOD__ . "\n"; } 9 protected static function aProtectedStatic($a) { print __METHOD__ . "\n"; } 14 $protected = new ReflectionMethod('A', 'aProtected'); 50 $protected->invoke(new A, NULL); 58 $protected->invokeArgs(new A, array(NULL)); 83 $protected->setAccessible(TRUE); 90 $protected->invoke(new A, NULL); 91 $protected->invokeArgs(new A, array(NULL)); 100 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" 101 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug65328.phpt | 14 protected $head; 85 protected $children = []; 90 protected $parent; 95 protected $data; 100 protected $uid; 105 protected $index = 0; 110 protected $assureUnique; 332 [uid:protected] => 1 341 [data:protected] => value2 342 [uid:protected] => 2 [all …]
|
H A D | array_003.phpt | 6 // This test also needs to exclude the protected and private variables 13 protected $pro = "protected"; 41 [pro:protected] => protected 51 [pro:protected] => protected
|
H A D | array_007.phpt | 6 // This test also needs to exclude the protected and private variables 13 protected $pro = "protected"; 45 [pro:protected] => protected 57 [pro:protected] => protected
|
H A D | observer_005.phpt | 10 protected $pro = 26; 29 protected $pro = 26; 82 ["pro":protected]=> 92 ["pro":protected]=> 102 ["pro":protected]=> 116 ["pro":protected]=> 132 ["pro":protected]=> 150 ["pro":protected]=> 160 ["pro":protected]=> 170 ["pro":protected]=> [all …]
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | print_r.phpt | 145 protected $protected_var1 = "string_1"; 146 protected $protected_var2; 158 protected function foo2() { 177 protected $class_object4; 941 [protected_var1:protected] => string_1 942 [protected_var2:protected] => string_2 952 [protected_var1:protected] => string_1 953 [protected_var2:protected] => string_2 963 [protected_var1:protected] => string_1 964 [protected_var2:protected] => string_2 [all …]
|
H A D | print_r_64bit.phpt | 149 protected $protected_var1 = "string_1"; 150 protected $protected_var2; 162 protected function foo2() { 181 protected $class_object4; 945 [protected_var1:protected] => string_1 946 [protected_var2:protected] => string_2 956 [protected_var1:protected] => string_1 957 [protected_var2:protected] => string_2 967 [protected_var1:protected] => string_1 968 [protected_var2:protected] => string_2 [all …]
|
/PHP-8.0/tests/classes/ |
H A D | property_recreate_protected.phpt | 2 Unsetting and recreating protected properties. 6 protected $p = 'test'; 22 echo "Unset and recreate a protected property from property's declaring class scope:\n"; 27 echo "\nUnset and recreate a protected property from subclass:\n"; 33 echo "\nUnset a protected property, and attempt to recreate it outside of scope (expected failure):… 39 Unset and recreate a protected property from property's declaring class scope: 41 ["p":protected]=> 45 Unset and recreate a protected property from subclass: 47 ["p":protected]=> 51 Unset a protected property, and attempt to recreate it outside of scope (expected failure): [all …]
|
H A D | array_conversion_keys.phpt | 8 protected $protected = 'protected'; 16 '' . "\0" . '*' . "\0" . 'protected' => 'protected',
|
H A D | private_members_serialization.phpt | 8 protected $protected = 'protected'; 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 | 8 protected $protected = 'protected'; 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"…
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | typed_properties_101.phpt | 8 protected float $protected; 25 ["protected":protected]=> 33 ["protected":protected]=>
|
/PHP-8.0/ext/standard/tests/class_object/ |
H A D | get_class_vars_variation2.phpt | 17 protected $prot = "protected var"; 21 static protected $prots = "protected static var"; 87 string(13) "protected var" 93 string(20) "protected static var" 103 string(13) "protected var" 109 string(20) "protected static var" 119 string(13) "protected var" 123 string(20) "protected static var" 131 string(13) "protected var" 143 string(13) "protected var" [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | rsort_object2.phpt | 16 protected $protected_class_value; 32 protected $protected_class_value; 102 ["protected_class_value":protected]=> 111 ["protected_class_value":protected]=> 120 ["protected_class_value":protected]=> 129 ["protected_class_value":protected]=> 141 ["protected_class_value":protected]=> 150 ["protected_class_value":protected]=> 159 ["protected_class_value":protected]=> 168 ["protected_class_value":protected]=> [all …]
|
H A D | arsort_object2.phpt | 18 protected $protected_class_value; 33 protected $protected_class_value; 97 ["protected_class_value":protected]=> 106 ["protected_class_value":protected]=> 115 ["protected_class_value":protected]=> 124 ["protected_class_value":protected]=> 136 ["protected_class_value":protected]=> 145 ["protected_class_value":protected]=> 154 ["protected_class_value":protected]=> 163 ["protected_class_value":protected]=> [all …]
|
H A D | asort_object2.phpt | 18 protected $protected_class_value; 33 protected $protected_class_value; 97 ["protected_class_value":protected]=> 106 ["protected_class_value":protected]=> 115 ["protected_class_value":protected]=> 124 ["protected_class_value":protected]=> 136 ["protected_class_value":protected]=> 145 ["protected_class_value":protected]=> 154 ["protected_class_value":protected]=> 163 ["protected_class_value":protected]=> [all …]
|