Syntax Error Standalone Build · Issue #11 · designsecurity/progpilot (original) (raw)

Hey there,

I've found the closed #10 issue that seems really close to mine, the only difference is that i'm running a Debian machine.

php's version :

$ php -v
PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )

What I Did

$ wget https://github.com/designsecurity/progpilot/releases/download/v0.4.0/progpilot_v0.4.0.phar
$ php progpilot_v0.4.0.phar

What I Got

PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in phar:///.../progpilot_v0.4.0.phar/vendor/symfony/console/Output/Output.php on line 40

Did I do something obviously wrong ?