Home
last modified time | relevance | path

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

/PHP-7.4/ext/pdo/tests/
H A Dbug_44159.phpt28 …error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname…
31 …error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname…
34 …error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname…
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c54 ZEND_ARG_INFO(0, ctor_args) /* array */ in ZEND_END_ARG_INFO()
1291 Z_PARAM_ARRAY(ctor_args) in PHP_METHOD()
1306 if (ctor_args) { in PHP_METHOD()
1307 if (Z_TYPE_P(ctor_args) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1308 ZVAL_ARR(&stmt->fetch.cls.ctor_args, zend_array_dup(Z_ARRVAL_P(ctor_args))); in PHP_METHOD()
1380 Z_PARAM_ZVAL(ctor_args) in PHP_METHOD()
1401 if (Z_TYPE_P(ctor_args) != IS_NULL && Z_TYPE_P(ctor_args) != IS_ARRAY) { in PHP_METHOD()
1406 if (Z_TYPE_P(ctor_args) != IS_ARRAY || !zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1407 ctor_args = NULL; in PHP_METHOD()
1411 if (ctor_args) { in PHP_METHOD()
[all …]
H A Dpdo_dbh.c426 …t_instantiate(pdo_dbh_t *dbh, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args) /* {{{ */ in pdo_stmt_instantiate() argument
428 if (!Z_ISUNDEF_P(ctor_args)) { in pdo_stmt_instantiate()
429 if (Z_TYPE_P(ctor_args) != IS_ARRAY) { in pdo_stmt_instantiate()
446 …ecute_data, pdo_stmt_t *stmt, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args) /* {{{ */ in pdo_stmt_construct() argument
470 zend_fcall_info_args(&fci, ctor_args); in pdo_stmt_construct()
492 zval *options = NULL, *opt, *item, ctor_args; in PHP_METHOD() local
540 ZVAL_COPY_VALUE(&ctor_args, item); in PHP_METHOD()
542 ZVAL_UNDEF(&ctor_args); in PHP_METHOD()
546 ZVAL_COPY_VALUE(&ctor_args, &dbh->def_stmt_ctor_args); in PHP_METHOD()
549 if (!pdo_stmt_instantiate(dbh, return_value, dbstmt_ce, &ctor_args)) { in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h624 zval ctor_args; /* freed */ member
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dbug48773.phpt2 Bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_statement_class.phpt85 public function fetchAll($fetch_style = 1, $column_index = 1, $ctor_args = array()) {
116 …error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname…

Completed in 29 milliseconds