Lines Matching refs:p
15 $p = new Phar($fname);
16 $p['file1.txt'] = 'hi';
17 var_dump($p->getSignature());
18 $p->setSignatureAlgorithm(Phar::MD5);
19 var_dump($p->getSignature());
20 $p->setSignatureAlgorithm(Phar::SHA1);
21 var_dump($p->getSignature());
23 $p->setSignatureAlgorithm(Phar::SHA256);
24 var_dump($p->getSignature());
29 $p->setSignatureAlgorithm(Phar::SHA512);
30 var_dump($p->getSignature());
40 $p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
41 var_dump($p->getSignature());
42 $p->setSignatureAlgorithm(Phar::OPENSSL_SHA512, $pkey);
43 var_dump($p->getSignature());
44 $p->setSignatureAlgorithm(Phar::OPENSSL_SHA256, $pkey);
45 var_dump($p->getSignature());