Description
When I run php --help it says:
Usage: php [options] [-f] <file> [--] [args...]
The following code (when run using php test.php -- test):
Resulted in this output:
array(3) {
[0]=>
string(8) "test.php"
[1]=>
string(2) "--"
[2]=>
string(4) "test"
}
But I expected this output instead:
array(3) {
[0]=>
string(8) "test.php"
[1]=>
string(4) "test"
}
So in my opinion either the help text or the code needs a fix.
PHP Version
Operating System
Kubuntu 26.04 LTS
Description
When I run php --help it says:
Usage: php [options] [-f] <file> [--] [args...]The following code (when run using php test.php -- test):
Resulted in this output:
But I expected this output instead:
So in my opinion either the help text or the code needs a fix.
PHP Version
Operating System
Kubuntu 26.04 LTS