| 4 bytes |
Length of manifest in bytes (1 MB limit) |
| 4 bytes |
Number of files in the Phar |
| 2 bytes |
API version of the Phar manifest (currently 1.0.0) |
| 4 bytes |
Global Phar bitmapped flags |
| 4 bytes |
Length of Phar alias |
| ?? |
Phar alias (length based on previous) |
| 4 bytes |
Length of Phar metadata (0 for none) |
| ?? |
Serialized Phar Meta-data, stored in serialize() format |
| at least 24 * number of entries bytes |
entries for each file |