note 111256 deleted from reserved.variables.argv by cmb
| From: | cmb@php.net | Date: | Sun, 05 Jan 2020 08:47:29 +0000 |
| Subject: | note 111256 deleted from reserved.variables.argv by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213772@lists.php.net to get a copy of this message | ||
Note Submitter: Jesse
----
If your script is read from standard input or with the -r option, $argv[0] will be "-".
If you use the "--" option to separate PHP's arguments from your script's
arguments, $argv[1] will be "--" if your script is read from a file. But if your script is
read from standard input or with the -r option, the "--" will be removed.