Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 39) sorted by relevance

12

/PHP-5.4/tests/classes/
H A Dprivate_007.phpt10 Bar::priv();
12 private static function priv() {
13 echo "Bar::priv()\n";
17 public static function priv() {
18 echo "Foo::priv()\n";
23 Foo::priv();
28 Bar::priv()
29 Foo::priv()
H A Dprivate_007b.phpt10 $this->priv();
12 private function priv() {
13 echo "Bar::priv()\n";
17 public function priv() {
18 echo "Foo::priv()\n";
24 $obj->priv();
29 Bar::priv()
30 Foo::priv()
/PHP-5.4/Zend/tests/
H A Dbug41929.phpt6 private $priv = "ok";
9 echo $this->priv,"\n";
24 priv: ok
H A Daccess_modifiers_012.phpt7 private function priv() { }
16 call_user_func(array($c, 'priv'));
21 In __call() for method priv()
H A Dcall_user_func_001.phpt17 private function priv($str) {
25 call_user_func(array(new $class, 'priv'), 'foobar');
33 …rameter 1 to be a valid callback, cannot access private method testing\foo::priv() in %s on line %d
H A Dclosure_041.phpt11 echo "scoped to A: "; var_dump(isset(A::$priv));
16 echo "scoped to A: "; var_dump(isset(A::$priv));
21 private static $priv = 7;
24 echo "scoped to A: "; var_dump(isset(A::$priv));
30 echo "scoped to A: "; var_dump(isset(A::$priv));
H A Dclosure_044.phpt8 $nonstaticUnscoped = function () { var_dump(isset(A::$priv)); var_dump(isset($this)); };
11 private static $priv = 7;
13 return function() { var_dump(isset(A::$priv)); var_dump(isset($this)); };
/PHP-5.4/ext/spl/tests/
H A DarrayObject_magicMethods1.phpt10 private $priv = 'secret';
80 ["priv":"UsesMagic":private]=>
95 ["priv":"UsesMagic":private]=>
116 ["priv":"UsesMagic":private]=>
131 ["priv":"UsesMagic":private]=>
150 ["priv":"UsesMagic":private]=>
165 ["priv":"UsesMagic":private]=>
181 ["priv":"UsesMagic":private]=>
192 ["priv":"UsesMagic":private]=>
H A DarrayObject_magicMethods2.phpt10 private $priv = 'secret';
80 ["priv":"UsesMagic":private]=>
97 ["priv":"UsesMagic":private]=>
116 ["priv":"UsesMagic":private]=>
133 ["priv":"UsesMagic":private]=>
150 ["priv":"UsesMagic":private]=>
167 ["priv":"UsesMagic":private]=>
181 ["priv":"UsesMagic":private]=>
194 ["priv":"UsesMagic":private]=>
H A DarrayObject_magicMethods3.phpt10 private $priv = 'secret';
80 ["priv":"UsesMagic":private]=>
95 ["priv":"UsesMagic":private]=>
116 ["priv":"UsesMagic":private]=>
131 ["priv":"UsesMagic":private]=>
150 ["priv":"UsesMagic":private]=>
165 ["priv":"UsesMagic":private]=>
181 ["priv":"UsesMagic":private]=>
192 ["priv":"UsesMagic":private]=>
H A DarrayObject_magicMethods4.phpt10 private $priv = 'secret';
83 ["priv":"C":private]=>
100 ["priv":"C":private]=>
121 ["priv":"C":private]=>
138 ["priv":"C":private]=>
157 ["priv":"C":private]=>
174 ["priv":"C":private]=>
190 ["priv":"C":private]=>
203 ["priv":"C":private]=>
H A DarrayObject_magicMethods5.phpt10 private $priv = 'secret';
86 ["priv":"C":private]=>
101 ["priv":"C":private]=>
121 ["priv":"C":private]=>
136 ["priv":"C":private]=>
156 ["priv":"C":private]=>
171 ["priv":"C":private]=>
188 ["priv":"C":private]=>
203 ["priv":"C":private]=>
H A DarrayObject_magicMethods6.phpt10 private $priv = 'secret';
83 ["priv":"C":private]=>
100 ["priv":"C":private]=>
121 ["priv":"C":private]=>
138 ["priv":"C":private]=>
157 ["priv":"C":private]=>
174 ["priv":"C":private]=>
190 ["priv":"C":private]=>
203 ["priv":"C":private]=>
/PHP-5.4/ext/reflection/tests/
H A DReflectionProperty_basic1.phpt41 private $priv = "keepOut";
47 reflectProperty("TestClass", "priv");
135 Reflecting on property TestClass::priv
138 string(37) "Property [ <default> private $priv ]
141 string(37) "Property [ <default> private $priv ]
144 Property [ <default> private $priv ]
148 string(4) "priv"
H A DReflectionMethod_basic3.phpt29 private function priv() {
30 echo "Called priv()\n";
46 reflectMethod("TestClass", "priv");
85 Reflecting on method TestClass::priv()
89 string(4) "priv"
H A DReflectionMethod_basic2.phpt27 private function priv() {
28 echo "Called priv()\n";
44 reflectMethod("TestClass", "priv");
86 Reflecting on method TestClass::priv()
89 string(%d) "Method [ <user> private method priv ] {
95 string(%d) "Method [ <user> private method priv ] {
H A DReflectionProperty_getModifiers.001.phpt29 private $priv = "keepOut";
35 reflectProperty("TestClass", "priv");
61 Reflecting on property TestClass::priv
H A DReflectionProperty_isDefault_basic.phpt19 private $priv = "keepOut";
25 reflectProperty("TestClass", "priv");
55 Reflecting on property TestClass::priv
H A DReflectionMethod_basic4.phpt33 private function priv() {
34 echo "Called priv()\n";
50 reflectMethod("TestClass", "priv");
88 Reflecting on method TestClass::priv()
H A DReflectionProperty_basic2.phpt28 private $priv = "keepOut";
34 reflectProperty("TestClass", "priv");
89 Reflecting on property TestClass::priv
H A DReflectionMethod_basic1.phpt39 private function priv() {
40 echo "Called priv()\n";
56 reflectMethod("TestClass", "priv");
124 Reflecting on method TestClass::priv()
/PHP-5.4/ext/standard/tests/class_object/
H A Dget_object_vars_basic_002.phpt22 private $priv = 'B::priv';
47 ["priv"]=>
48 string(7) "B::priv"
H A Dget_object_vars_basic_001.phpt22 private $priv = 'B::priv';
74 ["priv"]=>
75 string(7) "B::priv"
H A Dmethod_exists_basic_001.phpt23 private function priv() {}
33 'pub', 'prot', 'priv',
63 Does C::priv exist? bool(true)
78 Does C::priv exist? bool(true)
/PHP-5.4/ext/openssl/tests/
H A Dbug25614.phpt10 $priv = openssl_pkey_new();
11 $pub = openssl_pkey_get_public($priv);

Completed in 27 milliseconds

12