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