In PHP 5 there were some changes in CLI and CGI filenames. In PHP 5, the
CGI version was renamed to
php.exe) and the CLI version now sits in the main
In PHP 5 it was also introduced a new mode:
php-win.exe. This is equal to the CLI version, except
that php-win doesn't output anything and thus provides no console (no "dos
box" appears on the screen). This behavior is similar to php-gtk.
In PHP 5, the CLI version will always populate the global
$argc variables regardless
php.ini directive setting. Even having
register_argc_argv set to
off will have no affect in CLI.
See also the command line reference.