mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
122d759618
Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors. |
||
---|---|---|
.. | ||
msgformat_attr.c | ||
msgformat_attr.h | ||
msgformat_class.c | ||
msgformat_class.h | ||
msgformat_data.c | ||
msgformat_data.h | ||
msgformat_format.c | ||
msgformat_format.h | ||
msgformat_helpers.cpp | ||
msgformat_helpers.h | ||
msgformat_parse.c | ||
msgformat_parse.h | ||
msgformat.c | ||
msgformat.h |