php-src/ext/fileinfo
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
..
libmagic further sync with libmagic.orig 2015-03-29 18:17:02 +02:00
tests Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
config.m4 Merge branch 'PHP-5.5' into PHP-5.6 2015-01-04 09:42:46 +01:00
config.w32 Forgot this one in the last commit, removes old VC support from ext/fileinfo 2015-03-29 07:54:18 +02:00
create_data_file.php This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00:00
CREDITS - fix the build for win (vc6 or vc9) 2009-03-16 15:03:06 +00:00
data_file.c after merge fix 2015-03-08 19:56:31 +01:00
EXPERIMENTAL This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
fileinfo.c Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
fileinfo.php typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
libmagic.patch updated libmagic.patch 2015-03-29 18:22:42 +02:00
magicdata.patch Fixed bug #67647 Bundled libmagic 5.17 does not detect quicktime files correctly 2015-01-22 11:48:11 +01:00
Makefile.frag MFH: enable fileinfo by default 2008-07-25 09:16:22 +00:00
package.xml This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
php_fileinfo.h bump year 2015-01-15 23:27:30 +08:00