Home
last modified time | relevance | path

Searched refs:protected (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/PHP-8.3/ext/fileinfo/libmagic/
H A Dfile.h105 #ifndef protected
110 #ifndef protected
111 #define protected macro
506 protected struct magic_set *file_ms_alloc(int);
507 protected void file_ms_free(struct magic_set *);
549 protected void file_badread(struct magic_set *);
558 protected void file_mdump(struct magic *);
576 protected int file_pipe_closexec(int *);
577 protected int file_clear_closexec(int);
578 protected char *file_strtrim(char *);
[all …]
/PHP-8.3/ext/standard/tests/serialize/
H A Dbug49649_1.phpt2 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;
39 ["public":protected]=>
41 ["protected":protected]=>
43 ["private":protected]=>
/PHP-8.3/Zend/tests/
H A Dbug21888.phpt2 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 Daccess_modifiers_008.phpt2 Inconsistencies when accessing protected members
7 static protected function ma() {
17 static protected function ma() {
21 static protected function mp() {
25 static protected function mb() {
38 echo B1::ma() . "\n"; // protected method defined also in A
40 echo B1::mp() . "\n"; // protected method defined also in A but as private
59 Call to protected method B1::mp() from scope B2
60 Call to protected method B1::mb() from scope B2
H A Doverloaded_prop_assign_op_refs.phpt7 protected $a = 0;
8 protected $b = 0;
9 protected $c = 0;
41 ["a":protected]=>
43 ["b":protected]=>
45 ["c":protected]=>
H A Dbug45862.phpt2 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 Dbug37212.phpt2 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 Dbug37632.phpt8 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
H A Daccess_modifiers_009.phpt2 Inconsistencies when accessing protected members - is_callable
7 static protected function ma() {
17 static protected function ma() {
21 static protected function mp() {
25 static protected function mb() {
34 var_dump(is_callable('B1::ma')); // protected method defined also in A
35 var_dump(is_callable('B1::mp')); // protected method defined also in A but as private
H A Dbug26010.phpt2 Bug #26010 (private / protected variables get exposed by get_object_vars())
7 protected $protected = 'protected';
/PHP-8.3/ext/reflection/tests/
H A DReflectionProperty_setAccessible.phpt6 protected $protected = 'a';
15 $protected = new ReflectionProperty($a, 'protected');
20 var_dump($protected->getValue($a));
25 $protected->setValue($a, 'e');
30 var_dump($protected->getValue($a));
35 $protected->setAccessible(FALSE);
45 $protected->setValue($a, 'i');
57 $protected = new ReflectionProperty($b, 'protected');
65 $protected->setValue($b, 'e');
73 $protected->setAccessible(FALSE);
[all …]
/PHP-8.3/ext/spl/tests/
H A Dbug65328.phpt14 protected $head;
82 protected $children = [];
87 protected $parent;
92 protected $data;
97 protected $uid;
102 protected $index = 0;
107 protected $assureUnique;
308 [uid:protected] => 1
317 [data:protected] => value2
318 [uid:protected] => 2
[all …]
H A Darray_003.phpt6 // This test also needs to exclude the protected and private variables
14 protected $pro = "protected";
42 [pro:protected] => protected
52 [pro:protected] => protected
H A Darray_007.phpt6 // This test also needs to exclude the protected and private variables
14 protected $pro = "protected";
46 [pro:protected] => protected
58 [pro:protected] => protected
H A Dobserver_005.phpt10 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.3/ext/standard/tests/general_functions/
H A Dprint_r.phpt146 protected $protected_var1 = "string_1";
147 protected $protected_var2;
159 protected function foo2() {
179 protected $class_object4;
943 [protected_var1:protected] => string_1
944 [protected_var2:protected] => string_2
954 [protected_var1:protected] => string_1
955 [protected_var2:protected] => string_2
965 [protected_var1:protected] => string_1
966 [protected_var2:protected] => string_2
[all …]
H A Dprint_r_64bit.phpt150 protected $protected_var1 = "string_1";
151 protected $protected_var2;
163 protected function foo2() {
183 protected $class_object4;
947 [protected_var1:protected] => string_1
948 [protected_var2:protected] => string_2
958 [protected_var1:protected] => string_1
959 [protected_var2:protected] => string_2
969 [protected_var1:protected] => string_1
970 [protected_var2:protected] => string_2
[all …]
/PHP-8.3/tests/classes/
H A Dproperty_recreate_protected.phpt2 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 Darray_conversion_keys.phpt8 protected $protected = 'protected';
16 '' . "\0" . '*' . "\0" . 'protected' => 'protected',
H A Dprivate_members_serialization.phpt8 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 Dbug26737.phpt8 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.3/Zend/tests/type_declarations/
H A Dtyped_properties_101.phpt8 protected float $protected;
25 ["protected":protected]=>
33 ["protected":protected]=>
/PHP-8.3/ext/standard/tests/class_object/
H A Dget_class_vars_variation2.phpt17 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.3/ext/standard/tests/array/
H A Drsort_object2.phpt16 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 Darsort_object2.phpt18 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 …]

Completed in 37 milliseconds

12345678910>>...18