I want to write a utility script that I can execute from my bash shell
presently I run the script by typing
php myscript.php
where myscript.php is in my working directory.
I would like the script to do different things depending on how I call it (like a switch with a shell script)
I would like something similar to this
php myscript.php -D
is anything like this possible? If not how do i pass a variable to a php shellscript from the command line?