Searched refs:ctor_args (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 701 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in do_fetch_opt_finish() 1174 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local 1180 Z_PARAM_ARRAY(ctor_args) in PHP_METHOD() 1192 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() 1193 ZVAL_ARR(&stmt->fetch.cls.ctor_args, zend_array_dup(Z_ARRVAL_P(ctor_args))); in PHP_METHOD() 1195 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args); in PHP_METHOD() 1244 zval old_ctor_args, *ctor_args = NULL; in PHP_METHOD() local 1252 Z_PARAM_ARRAY_OR_NULL(ctor_args) in PHP_METHOD() 1285 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args)) > 0) { in PHP_METHOD() 1286 ZVAL_COPY_VALUE(&stmt->fetch.cls.ctor_args, ctor_args); /* we're not going to free these */ in PHP_METHOD() [all …]
|
H A D | pdo_dbh.c | 513 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 D | php_pdo_driver.h | 615 zval ctor_args; /* freed */ member
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug48773.phpt | 2 Bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
|
Completed in 19 milliseconds