php-src/ext/intl
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
..
breakiterator Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
calendar Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
collator Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
common trailing whitespace removal 2015-01-10 15:07:38 -08:00
converter Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
dateformat Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
doc Remove datefmt_set_timezone_id and OO variant 2015-04-01 12:34:28 +02:00
formatter Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
grapheme s/PHP Version 5/PHP Version 7/g 2015-03-13 11:09:42 +02:00
idn trailing whitespace removal 2015-01-10 15:07:38 -08:00
locale Remove extraneous strlen() call 2015-03-21 08:26:06 -07:00
msgformat Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
normalizer s/PHP Version 5/PHP Version 7/g 2015-03-13 11:09:42 +02:00
resourcebundle Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
spoofchecker Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
tests Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
timezone trailing whitespace removal 2015-01-10 15:07:38 -08:00
transliterator Patch improvement: 2015-03-30 18:53:38 +03:00
uchar Fix compile error 2015-03-04 09:56:50 +08:00
config.m4 Add IntlChar class to intl extension 2015-01-16 14:37:44 -08:00
config.w32 Add IntlChar class to intl extension 2015-01-16 14:37:44 -08:00
CREDITS Remove executable bit from files 2012-07-30 10:25:17 +02:00
ERROR.CONVENTIONS Merge branch 'pull-request/341' 2013-06-10 14:30:59 -07:00
intl_common.h fix extern "C" 2015-04-01 13:18:52 +02:00
intl_convert.c cleanup intl types 2014-12-29 14:06:12 -08:00
intl_convert.h cleanup intl types 2014-12-29 14:06:12 -08:00
intl_convertcpp.cpp trailing whitespace removal 2015-01-10 15:07:38 -08:00
intl_convertcpp.h cleanup intl types 2014-12-29 14:06:12 -08:00
intl_cppshims.h s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
intl_data.h Patch improvement: 2015-03-30 18:53:38 +03:00
intl_error.c Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
intl_error.h Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
php_intl.c Remove datefmt_set_timezone_id and OO variant 2015-04-01 12:34:28 +02:00
php_intl.h missing includes 2015-04-01 13:39:25 +02:00
TODO Remove executable bit from files 2012-07-30 10:25:17 +02:00