php-src/ext/phar
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
..
phar Fixed Bug #65467 2015-03-30 15:39:30 +02:00
tests Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
build_precommand.php
config.m4 fix arg order, CFLAGS is the fifth arg in m4 2014-10-17 16:03:40 +02:00
config.w32 converted ext/ereg, ext/phar and ext/pgsql for static tsrmls usage 2014-10-16 13:47:43 +02:00
CREDITS
dirstream.c Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
dirstream.h Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
func_interceptors.c Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE) 2015-03-09 23:00:56 +08:00
func_interceptors.h bump year 2015-01-15 23:27:30 +08:00
gdbhelp
LICENSE
Makefile.frag Don't read the local php.ini when Generating Phar 2015-02-16 18:28:32 -08:00
makestub.php ZTS cleanup 2015-03-08 19:25:55 +08:00
package.xml Remove outdated and user-specific files 2012-06-20 19:46:32 +02:00
phar_internal.h Merge branch 'PHP-5.6' 2015-03-30 20:20:55 +08:00
phar_object.c Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
phar_path_check.c bump year 2015-01-15 23:27:30 +08:00
phar_path_check.re bump year 2015-01-15 23:27:30 +08:00
phar.1.in Bump year 2014-01-03 11:08:10 +08:00
phar.c Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE) 2015-03-09 23:00:56 +08:00
phar.phar.1.in Fixed Bug #65142 Missing phar man page 2013-07-02 10:46:50 +02:00
pharzip.h bump year 2015-01-15 23:27:30 +08:00
php_phar.h bump year 2015-01-15 23:27:30 +08:00
shortarc.php
stream.c Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE) 2015-03-09 23:00:56 +08:00
stream.h Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
stub.h bump year 2015-01-15 23:27:30 +08:00
tar.c Merge branch 'PHP-5.6' 2015-03-30 14:45:38 +02:00
tar.h bump year 2015-01-15 23:27:30 +08:00
TODO
util.c Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE) 2015-03-09 23:00:56 +08:00
zip.c Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE) 2015-03-09 23:00:56 +08:00