<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Ingredients of all Phar archives, independent of file format</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.stub.html">Phar file stub</a></div> <div class="up"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="phar.fileformat.ingredients" class="section"> <h2 class="title">Ingredients of all Phar archives, independent of file format</h2> <p class="para"> All Phar archives contain three to four sections: <ol type="1"> <li class="listitem"> <p class="para">a stub</p> </li> <li class="listitem"> <p class="para">a manifest describing the contents</p> </li> <li class="listitem"> <p class="para">the file contents</p> </li> <li class="listitem"> <p class="para">[optional] a signature for verifying Phar integrity (phar file format only)</p> </li> </ol> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.stub.html">Phar file stub</a></div> <div class="up"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>