Both ways (whether using the -f switch or not) execute the file my_script.php . ... The PHP executable can be used to run PHP scripts absolutely independent of ...
php.net