The arguments passed to your script are available in the global array $argv.
This gives the powerful ability to dynamically create PHP code and feed it to the binary, as shown in this (fictional) example: