Home
last modified time | relevance | path

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

/php-src/ext/pdo/
H A Dpdo_stmt.c706 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in do_fetch_opt_finish()
1179 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local
1185 Z_PARAM_ARRAY(ctor_args) in PHP_METHOD()
1197 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1198 ZVAL_ARR(&stmt->fetch.cls.ctor_args, zend_array_dup(Z_ARRVAL_P(ctor_args))); in PHP_METHOD()
1200 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in PHP_METHOD()
1249 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local
1257 Z_PARAM_ARRAY_OR_NULL(ctor_args) in PHP_METHOD()
1290 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args)) > 0) { in PHP_METHOD()
1291 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.c513 if (!Z_ISUNDEF_P(ctor_args)) { in pdo_stmt_instantiate()
515 ZEND_ASSERT(Z_TYPE_P(ctor_args) == IS_ARRAY); in pdo_stmt_instantiate()
532 …o_stmt_construct(pdo_stmt_t *stmt, zval *object, zend_class_entry *dbstmt_ce, HashTable *ctor_args) in pdo_stmt_construct() argument
543 …own_function(dbstmt_ce->constructor, Z_OBJ_P(object), Z_OBJCE_P(object), NULL, 0, NULL, ctor_args); in pdo_stmt_construct()
552 zval *options = NULL, *value, *item, ctor_args; in PHP_METHOD() local
602 ZVAL_COPY_VALUE(&ctor_args, item); in PHP_METHOD()
604 ZVAL_UNDEF(&ctor_args); in PHP_METHOD()
608 ZVAL_COPY_VALUE(&ctor_args, &dbh->def_stmt_ctor_args); in PHP_METHOD()
611 if (!pdo_stmt_instantiate(dbh, return_value, dbstmt_ce, &ctor_args)) { in PHP_METHOD()
626 if (Z_TYPE(ctor_args) == IS_ARRAY) { in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h610 zval ctor_args; /* freed */ member
/php-src/ext/pdo_sqlite/tests/
H A Dbug48773.phpt2 Bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)

Completed in 30 milliseconds