Description
The following code:
php -d 'foo=bar=asd' -r "echo 'hello' . PHP_EOL;"
Resulted in this output:
PHP: syntax error, unexpected '=' in Unknown on line 6
hello
But I expected this output instead:
PHP: syntax error, unexpected '=' in -d option on line 0
hello
Not sure where it gets that line 6 from, and the "Unknown" could also be improved
PHP Version
Operating System
No response