Phar::__construct Construct a Phar archive object &reftitle.description; public Phar::__construct stringfilename intflagsFilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS stringnullalias&null; &reftitle.parameters; filename Path to an existing Phar archive or to-be-created archive. The file name's extension must contain .phar. flags Flags to pass to parent class RecursiveDirectoryIterator. alias Alias with which this Phar archive should be referred to in calls to stream functionality. &reftitle.errors; Throws BadMethodCallException if called twice, UnexpectedValueException if the phar archive can't be opened. &reftitle.examples; A <function>Phar::__construct</function> example ]]>