We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d53de commit 7e01c51Copy full SHA for 7e01c51
NEWS
@@ -11,6 +11,8 @@ PHP NEWS
11
leads to fatal error). (Laruence)
12
13
- Postgres:
14
+ . Fixed bug #72028 (pg_query_params(): NULL converts to empty string).
15
+ (Laruence)
16
. Fixed bug #71062 (pg_convert() doesn't accept ISO 8601 for datatype
17
timestamp). (denver at timothy dot io)
18
ext/pgsql/pgsql.c
@@ -1968,7 +1968,7 @@ PHP_FUNCTION(pg_query_params)
1968
params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
1969
1970
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) {
1971
-
+ ZVAL_DEREF(tmp);
1972
if (Z_TYPE_P(tmp) == IS_NULL) {
1973
params[i] = NULL;
1974
} else {
0 commit comments