1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/date/tests
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
..
2009-05-12 19:46:58 +00:00
2011-01-05 14:41:50 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2011-12-06 05:59:24 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2014-06-16 10:52:26 +02:00
2008-07-16 07:36:04 +00:00
2008-04-29 07:26:46 +00:00
2009-08-02 22:37:07 +00:00
2009-06-21 22:31:41 +00:00
2011-12-07 19:42:44 +00:00
2011-12-07 19:42:44 +00:00
2010-01-14 15:45:49 +00:00
2011-12-07 19:42:44 +00:00
2010-07-06 00:25:52 +00:00
2014-08-13 20:24:43 +08:00
2011-12-07 19:42:44 +00:00
2010-11-28 13:41:06 +00:00
2010-08-30 15:40:36 +00:00
2013-06-11 12:38:49 +02:00
2013-06-11 12:38:49 +02:00
2011-12-07 19:42:44 +00:00
2011-12-07 19:42:44 +00:00
2011-12-07 19:42:44 +00:00
2013-07-15 00:23:03 -07:00
2013-03-19 21:19:55 +01:00
2013-09-16 03:42:49 +02:00
2014-01-09 15:27:26 +01:00
2014-04-13 15:51:55 -07:00
2014-08-20 14:44:25 -07:00
2014-10-03 22:02:02 +02:00
2014-10-06 05:52:43 +08:00
2015-02-27 16:48:09 +01:00
2015-02-27 16:48:09 +01:00
2011-06-23 21:27:42 +00:00
2009-01-27 14:16:15 +00:00
2014-11-30 20:49:18 -08:00
2015-04-01 12:50:40 -07:00
2009-03-01 21:26:54 +00:00
2010-02-10 16:23:30 +00:00
2009-03-01 21:26:54 +00:00
2008-01-28 21:00:14 +00:00