php-src/ext/intl/msgformat
Nikita Popov 122d759618 Always throw TypeException on throwing zpp failures
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.
2015-04-06 11:27:34 +02:00
..
msgformat_attr.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
msgformat_attr.h s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
msgformat_class.c Patch improvement: 2015-03-30 18:53:38 +03:00
msgformat_class.h first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
msgformat_data.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
msgformat_data.h first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
msgformat_format.c cleanup intl types 2014-12-29 14:06:12 -08:00
msgformat_format.h s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
msgformat_helpers.cpp trailing whitespace removal 2015-01-10 15:07:38 -08:00
msgformat_helpers.h first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
msgformat_parse.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
msgformat_parse.h s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
msgformat.c Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
msgformat.h s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00