Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-5.6/ext/fileinfo/libmagic/
H A Dfile.h96 #ifndef protected
101 #ifndef protected
102 #define protected macro
414 protected struct magic_set *file_ms_alloc(int);
415 protected void file_ms_free(struct magic_set *);
422 protected int file_reset(struct magic_set *);
444 protected void file_badread(struct magic_set *);
445 protected void file_badseek(struct magic_set *);
446 protected void file_oomem(struct magic_set *, size_t);
451 protected size_t file_mbswidth(const char *);
[all …]
/PHP-5.6/Zend/tests/
H A Dbug21888.phpt2 Bug #21888 (protected property and protected method of the same name)
11 protected $prot = "protected property\n";
13 protected function prot() {
14 print "protected method\n";
35 protected method
36 protected property
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: Call to protected C4::__construct() from context 'B4' in %sbug37632.php on line %d
H A Dbug45862.phpt2 Bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
14 static protected $prot = "protected var";
35 string(13) "protected var"
37 string(13) "protected var"
42 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()
44 ["value":protected]=>
48 ["value":protected]=>
52 ["value":protected]=>
H A Dbug26010.phpt2 Bug #26010 (private / protected variables get exposed by get_object_vars())
7 protected $protected = 'protected';
/PHP-5.6/ext/reflection/tests/
H A DReflectionProperty_setAccessible.phpt6 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 DReflectionMethod_setAccessible.phpt8 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-5.6/ext/spl/tests/
H A Dbug65328.phpt14 protected $head;
85 protected $children = [];
90 protected $parent;
95 protected $data;
100 protected $uid;
105 protected $index = 0;
110 protected $assureUnique;
331 [uid:protected] => 1
340 [data:protected] => value2
341 [uid:protected] => 2
[all …]
H A Darray_003.phpt6 // This test also needs to exclude the protected and private variables
13 protected $pro = "protected";
43 [pro:protected] => protected
53 [pro:protected] => protected
H A Dobserver_005.phpt10 protected $pro = 26;
29 protected $pro = 26;
84 ["pro":protected]=>
94 ["pro":protected]=>
104 ["pro":protected]=>
118 ["pro":protected]=>
134 ["pro":protected]=>
152 ["pro":protected]=>
162 ["pro":protected]=>
172 ["pro":protected]=>
[all …]
H A Darray_007.phpt6 // This test also needs to exclude the protected and private variables
13 protected $pro = "protected";
47 [pro:protected] => protected
59 [pro:protected] => protected
/PHP-5.6/ext/standard/tests/general_functions/
H A Dprint_r.phpt154 protected $protected_var1 = "string_1";
155 protected $protected_var2;
167 protected function foo2() {
186 protected $class_object4;
971 [protected_var1:protected] => string_1
972 [protected_var2:protected] => string_2
982 [protected_var1:protected] => string_1
983 [protected_var2:protected] => string_2
993 [protected_var1:protected] => string_1
994 [protected_var2:protected] => string_2
[all …]
H A Dprint_r_64bit.phpt155 protected $protected_var1 = "string_1";
156 protected $protected_var2;
168 protected function foo2() {
187 protected $class_object4;
972 [protected_var1:protected] => string_1
973 [protected_var2:protected] => string_2
983 [protected_var1:protected] => string_1
984 [protected_var2:protected] => string_2
994 [protected_var1:protected] => string_1
995 [protected_var2:protected] => string_2
[all …]
H A Ddebug_zval_dump_o.phpt28 protected $value3 = 20;
34 protected function foo2() {
56 protected $p1 = 40;
61 protected $class_object4;
126 ["value3":protected]=>
143 ["value3":protected]=>
165 ["p1":protected]=>
328 ["p1":protected]=>
497 ["value3":protected]=>
535 ["value3":protected]=>
[all …]
H A Dvar_dump_64bit.phpt149 protected $protected_var2;
161 protected function foo2() {
180 protected $class_object4;
586 ["protected_var1":protected]=>
588 ["protected_var2":protected]=>
651 ["class_object4":protected]=>
729 ["class_object4":protected]=>
762 ["protected_var1":protected]=>
764 ["protected_var2":protected]=>
779 ["protected_var1":protected]=>
[all …]
/PHP-5.6/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 [%u|b%"p":protected]=>
45 Unset and recreate a protected property from subclass:
47 [%u|b%"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(130) "O:3:"foo":4:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected"…
/PHP-5.6/ext/standard/tests/class_object/
H A Dget_class_vars_variation2.phpt23 protected $prot = "protected var";
27 static protected $prots = "protected static var";
94 string(13) "protected var"
100 string(20) "protected static var"
110 string(13) "protected var"
116 string(20) "protected static var"
126 string(13) "protected var"
130 string(20) "protected static var"
138 string(13) "protected var"
150 string(13) "protected var"
[all …]
/PHP-5.6/ext/standard/tests/array/
H A Drsort_object2.phpt21 protected $protected_class_value;
37 protected $protected_class_value;
108 ["protected_class_value":protected]=>
117 ["protected_class_value":protected]=>
126 ["protected_class_value":protected]=>
135 ["protected_class_value":protected]=>
147 ["protected_class_value":protected]=>
156 ["protected_class_value":protected]=>
165 ["protected_class_value":protected]=>
174 ["protected_class_value":protected]=>
[all …]
H A Dasort_object2.phpt24 protected $protected_class_value;
39 protected $protected_class_value;
103 ["protected_class_value":protected]=>
112 ["protected_class_value":protected]=>
121 ["protected_class_value":protected]=>
130 ["protected_class_value":protected]=>
142 ["protected_class_value":protected]=>
151 ["protected_class_value":protected]=>
160 ["protected_class_value":protected]=>
169 ["protected_class_value":protected]=>
[all …]
H A Dsort_object2.phpt22 protected $protected_class_value;
37 protected $protected_class_value;
106 ["protected_class_value":protected]=>
115 ["protected_class_value":protected]=>
124 ["protected_class_value":protected]=>
133 ["protected_class_value":protected]=>
145 ["protected_class_value":protected]=>
154 ["protected_class_value":protected]=>
163 ["protected_class_value":protected]=>
172 ["protected_class_value":protected]=>
[all …]
/PHP-5.6/ext/pdo/tests/
H A Dpdo_005.phpt27 protected $val;
33 protected $row;
87 ["val":protected]=>
96 ["val":protected]=>
105 ["val":protected]=>
117 ["row":protected]=>
121 ["val":protected]=>
130 ["row":protected]=>
134 ["val":protected]=>
143 ["row":protected]=>
[all …]

Completed in 36 milliseconds

12345678910>>...14