New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecations for PHP 7.3 #3366

Merged
merged 6 commits into from Jul 21, 2018
Prev

Deprecate pdo_odbc.db2_instance_name

  • Loading branch information...
nikic committed Jul 21, 2018
commit fb0e8c65b9d196db44c7d92890e3540f863b6c8b
Copy path View file
@@ -92,6 +92,9 @@ PHP_MINIT_FUNCTION(pdo_odbc)
char *instance = INI_STR("pdo_odbc.db2_instance_name");
if (instance) {
char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance));
php_error_docref(NULL, E_DEPRECATED, "The pdo_odbc.db2_instance_name ini directive is deprecated and will be removed in the future");
if (!env) {
return FAILURE;
}
ProTip! Use n and p to navigate between commits in a pull request.