PHAR files: show stub?

Been playing around with phar files and being able to open them and view the files in them is excellent.

One thing I'd like though is to be able to view the stub file section as well.   My far build process currently uses file_get_contents to append some seperate files together based on build variables and then sets that string as the stub.  As such, I want to view what is actually set as the stubfile[the code before the halt_compiler line].

Is there a way to do so?

1 comment

It should be visible for archive-based phars. For native ones I've created an issue, feel free to vote


Please sign in to leave a comment.