Last active
November 15, 2016 07:18
-
-
Save TheRatG/e937b0cadff66a09f2883fcda6e70ce6 to your computer and use it in GitHub Desktop.
Extract phar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#extract phar | |
phar extract -f php_util.phar extracted | |
#how to check is in phar | |
#if (strpos(__DIR__, 'phar://') === 0) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment