php-src/ext/pdo_mysql
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
..
tests Always throw TypeException on throwing zpp failures 2015-04-06 11:27:34 +02:00
config.m4 Like Shady, --with-mysql-sock is back. 2015-03-05 19:00:02 +00:00
config.w32 converted ext/sqlite and ext/pdo_mysql to use static tsrmls cache 2014-10-16 18:50:19 +02:00
CREDITS MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499, 2008-07-21 13:09:28 +00:00
get_error_codes.php - Update PDO_mysql error mapping 2011-08-31 15:46:07 +00:00
mysql_driver.c size_t cleanup for PDO 2015-01-26 16:16:02 -08:00
mysql_statement.c size_t cleanup for PDO 2015-01-26 16:16:02 -08:00
package2.xml set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
pdo_mysql.c cleanup mod version macros, round 3 2015-03-23 20:54:55 +01:00
php_pdo_mysql_int.h made ZEND_TSRMLS_CACHE_* macros look like function calls 2015-02-16 17:19:32 +01:00
php_pdo_mysql_sqlstate.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
php_pdo_mysql.h cleanup mod version macros, round 3 2015-03-23 20:54:55 +01:00