/PHP-7.3/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; 37 ["public":protected]=> 39 ["protected":protected]=> 41 ["private":protected]=>
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | file.h | 98 #ifndef protected 103 #ifndef protected 104 #define protected macro 449 protected struct magic_set *file_ms_alloc(int); 450 protected void file_ms_free(struct magic_set *); 458 protected int file_reset(struct magic_set *, int); 480 protected void file_badread(struct magic_set *); 481 protected void file_badseek(struct magic_set *); 487 protected size_t file_mbswidth(const char *); 502 protected void buffer_fini(struct buffer *); [all …]
|
/PHP-7.3/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 | 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 context 'B4' in %sbug37632.ph…
|
H A D | bug37212.phpt | 2 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 D | bug26010.phpt | 2 Bug #26010 (private / protected variables get exposed by get_object_vars()) 7 protected $protected = 'protected';
|
/PHP-7.3/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-7.3/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; 331 [uid:protected] => 1 340 [data:protected] => value2 341 [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"; 43 [pro:protected] => protected 53 [pro:protected] => protected
|
H A D | observer_005.phpt | 10 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 D | array_007.phpt | 6 // This test also needs to exclude the protected and private variables 13 protected $pro = "protected"; 47 [pro:protected] => protected 59 [pro:protected] => protected
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | print_r.phpt | 150 protected $protected_var1 = "string_1"; 151 protected $protected_var2; 163 protected function foo2() { 182 protected $class_object4; 967 [protected_var1:protected] => string_1 968 [protected_var2:protected] => string_2 978 [protected_var1:protected] => string_1 979 [protected_var2:protected] => string_2 989 [protected_var1:protected] => string_1 990 [protected_var2:protected] => string_2 [all …]
|
H A D | print_r_64bit.phpt | 154 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 …]
|
/PHP-7.3/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(130) "O:3:"foo":4:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected"…
|
/PHP-7.3/ext/standard/tests/class_object/ |
H A D | get_class_vars_variation2.phpt | 23 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-7.3/ext/standard/tests/array/ |
H A D | rsort_object2.phpt | 21 protected $protected_class_value; 37 protected $protected_class_value; 107 ["protected_class_value":protected]=> 116 ["protected_class_value":protected]=> 125 ["protected_class_value":protected]=> 134 ["protected_class_value":protected]=> 146 ["protected_class_value":protected]=> 155 ["protected_class_value":protected]=> 164 ["protected_class_value":protected]=> 173 ["protected_class_value":protected]=> [all …]
|
H A D | asort_object2.phpt | 24 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 D | sort_object2.phpt | 22 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-7.3/ext/pdo/tests/ |
H A D | pdo_005.phpt | 27 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 …]
|