Home
last modified time | relevance | path

Searched refs:ctor_args (Results 1 – 4 of 4) sorted by relevance

/PHP-8.2/ext/pdo/
H A Dpdo_stmt.c707 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in do_fetch_opt_finish()
1185 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local
1191 Z_PARAM_ARRAY(ctor_args) in PHP_METHOD()
1203 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1204 ZVAL_ARR(&stmt->fetch.cls.ctor_args, zend_array_dup(Z_ARRVAL_P(ctor_args))); in PHP_METHOD()
1206 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in PHP_METHOD()
1255 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local
1263 Z_PARAM_ARRAY_OR_NULL(ctor_args) in PHP_METHOD()
1296 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args)) > 0) { in PHP_METHOD()
1297 ZVAL_COPY_VALUE(&stmt->fetch.cls.ctor_args, ctor_args); /* we're not going to free these */ in PHP_METHOD()
[all …]
H A Dpdo_dbh.c437 …t_instantiate(pdo_dbh_t *dbh, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args) /* {{{ */ in pdo_stmt_instantiate() argument
439 if (!Z_ISUNDEF_P(ctor_args)) { in pdo_stmt_instantiate()
441 ZEND_ASSERT(Z_TYPE_P(ctor_args) == IS_ARRAY); in pdo_stmt_instantiate()
458 …ecute_data, pdo_stmt_t *stmt, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args) /* {{{ */ in pdo_stmt_construct() argument
481 zend_fcall_info_args(&fci, ctor_args); in pdo_stmt_construct()
501 zval *options = NULL, *value, *item, ctor_args; in PHP_METHOD() local
551 ZVAL_COPY_VALUE(&ctor_args, item); in PHP_METHOD()
553 ZVAL_UNDEF(&ctor_args); in PHP_METHOD()
557 ZVAL_COPY_VALUE(&ctor_args, &dbh->def_stmt_ctor_args); in PHP_METHOD()
560 if (!pdo_stmt_instantiate(dbh, return_value, dbstmt_ce, &ctor_args)) { in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h610 zval ctor_args; /* freed */ member
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dbug48773.phpt2 Bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)

Completed in 31 milliseconds