Home
last modified time | relevance | path

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

12

/PHP-7.3/tests/classes/
H A Dprivate_007.phpt8 Bar::priv();
10 private static function priv() {
11 echo "Bar::priv()\n";
15 public static function priv() {
16 echo "Foo::priv()\n";
21 Foo::priv();
26 Bar::priv()
27 Foo::priv()
H A Dprivate_007b.phpt8 $this->priv();
10 private function priv() {
11 echo "Bar::priv()\n";
15 public function priv() {
16 echo "Foo::priv()\n";
22 $obj->priv();
27 Bar::priv()
28 Foo::priv()
/PHP-7.3/ext/standard/tests/serialize/
H A Dsleep_undefined_declared_properties.phpt9 private $priv;
12 unset($this->pub, $this->prot, $this->priv);
16 return ['pub', 'prot', 'priv'];
28 Notice: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on …
29 string(53) "O:4:"Test":3:{s:3:"pub";N;s:4:"prot";N;s:4:"priv";N;}"
/PHP-7.3/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_060.phpt7 private static $priv = 7;
11 var_dump(isset(A::$priv));
/PHP-7.3/ext/openssl/tests/
H A Dopenssl_pkcs12_export_basic.phpt11 $priv = file_get_contents($priv_file);
14 $priv_res = openssl_pkey_get_private($priv);
20 var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass)); // read certs as a string
26 var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass, array('extracerts' => $cert))); // ext…
28 var_dump(count($opts)); // should be 3 certificates, priv, pub, extra optional cert
34 //var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass, array("foo")));
H A Dbug25614.phpt10 $priv = openssl_pkey_new();
11 $pub = openssl_pkey_get_public($priv);
H A Dopenssl_pkey_derive-ecdh.phpt8 $priv = openssl_pkey_get_private("-----BEGIN EC PRIVATE KEY-----
25 echo bin2hex(openssl_pkey_derive($pub,$priv));
/PHP-7.3/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-7.3/ext/standard/tests/class_object/
H A Dget_object_vars_basic_002.phpt22 private $priv = 'B::priv';
46 ["priv"]=>
47 string(7) "B::priv"
H A Dget_object_vars_basic_001.phpt22 private $priv = 'B::priv';
73 ["priv"]=>
74 string(7) "B::priv"
/PHP-7.3/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 DReflectionProperty_getModifiers.001.phpt29 private $priv = "keepOut";
35 reflectProperty("TestClass", "priv");
61 Reflecting on property TestClass::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_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.phpt30 private $priv = "keepOut";
36 reflectProperty("TestClass", "priv");
91 Reflecting on property TestClass::priv

Completed in 23 milliseconds

12