PHP supports a CLI mode : command line interface. It processes commands in the form of lines of text.
<?php print_r($argv); ?>
Documentation
Related : Webserver
Contents: