You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making command line applications, you sometimes want to make sure you separate the PHP options from the application options. Plus, some options are simply handled by PHP already, thus making their use impossible (e.g. "-d", "-l", etc.).
However, Console_CommmandLine intentionally ignores everything after "--".
There should be an option that allows users to prefer the collection formed from arguments after "--" (i.e. WITHOUT any options from PHP), assuming "--" is anywhere in $argv, and fallback to the current behavior when it's not.
The text was updated successfully, but these errors were encountered:
When making command line applications, you sometimes want to make sure you separate the PHP options from the application options. Plus, some options are simply handled by PHP already, thus making their use impossible (e.g. "-d", "-l", etc.).
However, Console_CommmandLine intentionally ignores everything after "--".
There should be an option that allows users to prefer the collection formed from arguments after "--" (i.e. WITHOUT any options from PHP), assuming "--" is anywhere in $argv, and fallback to the current behavior when it's not.
The text was updated successfully, but these errors were encountered: