mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix GH-8253: pg_insert() fails for references
This commit is contained in:
commit
7e8dcda42c
3 changed files with 33 additions and 0 deletions
|
@ -4584,6 +4584,7 @@ PHP_PGSQL_API zend_result php_pgsql_convert(PGconn *pg_link, const zend_string *
|
|||
|
||||
ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(values), field, val) {
|
||||
skip_field = 0;
|
||||
ZVAL_DEREF(val);
|
||||
ZVAL_NULL(&new_val);
|
||||
|
||||
/* TODO: Check when meta data can be broken and see if can use assertions instead */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue