1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/reflection/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
..
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2015-03-31 17:55:27 +02:00
2013-03-16 16:11:00 +04:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2015-03-26 03:13:50 +01:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2015-03-26 03:13:50 +01:00
2008-05-24 13:34:22 +00:00
2013-03-16 16:11:00 +04:00
2014-03-02 15:47:08 +08:00
MFH
2007-07-11 22:06:54 +00:00
MFH
2008-02-15 09:35:53 +00:00
2014-03-02 15:47:08 +08:00
2009-06-29 07:45:11 +00:00
2010-11-21 12:28:10 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2010-03-06 23:58:35 +00:00
2009-01-07 22:40:17 +00:00
2010-05-29 21:55:19 +00:00
2014-03-02 15:47:08 +08:00