* PHP-7.3:
Fix bug #78323: Code 0 is returned on invalid options
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 7.3.15
+?? ??? ????, PHP 7.4.3
- Core:
- . Fixed bug #71876 (Memory corruption htmlspecialchars(): charset `*' not
- supported). (Nikita)
- . Fixed bug ##79146 (cscript can fail to run on some systems). (clarodeus)
+ . Fixed bug #79146 (cscript can fail to run on some systems). (clarodeus)
+ . Fixed bug #79155 (Property nullability lost when using multiple property
+ definition). (Nikita)
+ . Fixed bug #78323 (Code 0 is returned on invalid options). (Ivan Mikheykin)
- CURL:
. Fixed bug #79078 (Hypothetical use-after-free in curl_multi_add_handle()).
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
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */