Lines Matching refs:Phar

2 Phar::convertToZip|Tar|Phar() repeated (phar_based archives)
25 echo "=================== new Phar() =======================\n";
26 $phar = new Phar($fname);
27 var_dump($phar->isFileFormat(Phar::PHAR));
28 var_dump($phar->isFileFormat(Phar::TAR));
29 var_dump($phar->isFileFormat(Phar::ZIP));
35 $phar = $phar->convertToExecutable(Phar::TAR);
36 var_dump($phar->isFileFormat(Phar::PHAR));
37 var_dump($phar->isFileFormat(Phar::TAR));
38 var_dump($phar->isFileFormat(Phar::ZIP));
44 $phar = $phar->convertToExecutable(Phar::ZIP);
45 var_dump($phar->isFileFormat(Phar::PHAR));
46 var_dump($phar->isFileFormat(Phar::TAR));
47 var_dump($phar->isFileFormat(Phar::ZIP));
53 $phar = $phar->convertToExecutable(Phar::PHAR, Phar::NONE, '.2.phar');
54 var_dump($phar->isFileFormat(Phar::PHAR));
55 var_dump($phar->isFileFormat(Phar::TAR));
56 var_dump($phar->isFileFormat(Phar::ZIP));
62 $phar = $phar->convertToExecutable(Phar::ZIP, Phar::NONE, '.2.phar.zip');
63 var_dump($phar->isFileFormat(Phar::PHAR));
64 var_dump($phar->isFileFormat(Phar::TAR));
65 var_dump($phar->isFileFormat(Phar::ZIP));
71 $phar = $phar->convertToExecutable(Phar::TAR, Phar::NONE, '2.phar.tar');
72 var_dump($phar->isFileFormat(Phar::PHAR));
73 var_dump($phar->isFileFormat(Phar::TAR));
74 var_dump($phar->isFileFormat(Phar::ZIP));
80 $phar = $phar->convertToExecutable(Phar::ZIP, Phar::NONE, '3.phar.zip');
81 var_dump($phar->isFileFormat(Phar::PHAR));
82 var_dump($phar->isFileFormat(Phar::TAR));
83 var_dump($phar->isFileFormat(Phar::ZIP));
102 =================== new Phar() =======================