Home
last modified time | relevance | path

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

123

/PHP-8.1/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-8.1/Zend/tests/
H A Dget_mangled_object_vars.phpt9 private $priv = 3;
12 private $priv = 4;
23 private $priv = 1;
38 '' . "\0" . 'A' . "\0" . 'priv' => 3,
39 '' . "\0" . 'B' . "\0" . 'priv' => 4,
44 '' . "\0" . 'AO' . "\0" . 'priv' => 1,
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) {
26 call_user_func(array(new $class, 'priv'), 'foobar');
40 … Argument #1 ($callback) must be a valid callback, cannot access private method testing\foo::priv()
H A Dclosure_060.phpt7 private static $priv = 7;
11 var_dump(isset(A::$priv));
/PHP-8.1/ext/standard/tests/serialize/
H A Dsleep_mangled_name_clash.phpt6 private $priv;
8 return ["\0Test\0priv", "priv"];
15 Notice: serialize(): "priv" is returned from __sleep() multiple times in %s on line %d
16 string(37) "O:4:"Test":1:{s:10:"\0Test\0priv";N;}"
H A Dsleep_undefined_declared_properties.phpt9 private $priv;
12 unset($this->pub, $this->prot, $this->priv);
16 return ['pub', 'prot', 'priv'];
28 Warning: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on…
/PHP-8.1/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
38 //var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass, array("foo")));
H A Dbug25614.phpt11 $priv = openssl_pkey_new();
12 $pub = openssl_pkey_get_public($priv);
H A Dopenssl_pkey_derive-ecdh.phpt10 $priv = openssl_pkey_get_private("-----BEGIN EC PRIVATE KEY-----
27 echo bin2hex(openssl_pkey_derive($pub,$priv));
/PHP-8.1/ext/standard/tests/class_object/
H A Dget_object_vars_basic_002.phpt16 private $priv = 'B::priv';
40 ["priv"]=>
41 string(7) "B::priv"
H A Dget_object_vars_basic_001.phpt16 private $priv = 'B::priv';
67 ["priv"]=>
68 string(7) "B::priv"
/PHP-8.1/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]=>
179 ["priv":"UsesMagic":private]=>
190 ["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]=>
179 ["priv":"UsesMagic":private]=>
190 ["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_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]=>
188 ["priv":"C":private]=>
201 ["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]=>
188 ["priv":"C":private]=>
201 ["priv":"C":private]=>
/PHP-8.1/ext/reflection/tests/
H A DReflectionProperty_isDefault_basic.phpt19 private $priv = "keepOut";
25 reflectProperty("TestClass", "priv");
51 Reflecting on property TestClass::priv
H A DReflectionMethod_basic2.phpt25 private function priv() {
26 echo "Called priv()\n";
42 reflectMethod("TestClass", "priv");
72 Reflecting on method TestClass::priv()
75 string(%d) "Method [ <user> private method 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 DReflectionProperty_basic1.phpt37 private $priv = "keepOut";
43 reflectProperty("TestClass", "priv");
110 Reflecting on property TestClass::priv
113 string(39) "Property [ private $priv = 'keepOut' ]
116 string(4) "priv"

Completed in 70 milliseconds

123