phpphar

phar obtain command line arguments


I am looking into phar to wrap up an executable I can find no way to pass arguments and access them For example

php file.phar x y z

Is this possible - if so please point me in the right direction

Many thanks


Solution

  • As stated by axiac all that is needed is to handle the arguments in the index.php file