mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix bug #78323: Code 0 is returned on invalid options
This commit is contained in:
commit
1cccbb8ff1
11 changed files with 177 additions and 5 deletions
|
@ -35,4 +35,7 @@ extern PHPAPI int php_optidx;
|
|||
PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *optind, int show_err, int arg_start);
|
||||
END_EXTERN_C()
|
||||
|
||||
/* php_getopt will return this value if there is an error in arguments */
|
||||
#define PHP_GETOPT_INVALID_ARG (-2)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue