mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
122d759618
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. |
||
---|---|---|
.. | ||
phar | ||
tests | ||
build_precommand.php | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
dirstream.c | ||
dirstream.h | ||
func_interceptors.c | ||
func_interceptors.h | ||
gdbhelp | ||
LICENSE | ||
Makefile.frag | ||
makestub.php | ||
package.xml | ||
phar_internal.h | ||
phar_object.c | ||
phar_path_check.c | ||
phar_path_check.re | ||
phar.1.in | ||
phar.c | ||
phar.phar.1.in | ||
pharzip.h | ||
php_phar.h | ||
shortarc.php | ||
stream.c | ||
stream.h | ||
stub.h | ||
tar.c | ||
tar.h | ||
TODO | ||
util.c | ||
zip.c |