mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
This commit is contained in:
commit
aa2e921ef7
2 changed files with 83 additions and 3 deletions
|
@ -1290,7 +1290,7 @@ PHP_FUNCTION(pg_execute)
|
|||
params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
|
||||
|
||||
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) {
|
||||
|
||||
ZVAL_DEREF(tmp);
|
||||
if (Z_TYPE_P(tmp) == IS_NULL) {
|
||||
params[i] = NULL;
|
||||
} else {
|
||||
|
@ -3717,7 +3717,7 @@ PHP_FUNCTION(pg_send_query_params)
|
|||
params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
|
||||
|
||||
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) {
|
||||
|
||||
ZVAL_DEREF(tmp);
|
||||
if (Z_TYPE_P(tmp) == IS_NULL) {
|
||||
params[i] = NULL;
|
||||
} else {
|
||||
|
@ -3884,7 +3884,7 @@ PHP_FUNCTION(pg_send_execute)
|
|||
params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
|
||||
|
||||
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) {
|
||||
|
||||
ZVAL_DEREF(tmp);
|
||||
if (Z_TYPE_P(tmp) == IS_NULL) {
|
||||
params[i] = NULL;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue