If you pass 10 arguments separated by spaces, PHP can see them in
$_SERVER['argv']. I briefly looked for a way to passed named arguments that would cause PHP to automatically parse them as an array, but I turned up empty. I seem to rememember being able to pass a URL-like string to PHP on the command line and have it parsed for me, but I can't find anything now so maybe my mind is playing tricks on me.
Using PHP from the command line