Searched defs:ctor_args (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c408 static zval *pdo_stmt_instantiate(pdo_dbh_t *dbh, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args TSRMLS_DC) /* {{{ */
410 if (!Z_ISUNDEF_P(ctor_args)) {
411 if (Z_TYPE_P(ctor_args) != IS_ARRAY) {
428 static void pdo_stmt_construct(pdo_stmt_t *stmt, zval *object, zend_class_entry *dbstmt_ce, zval *ctor_args TSRMLS_DC) /* {{{ */
454 zend_fcall_info_args(&fci, ctor_args TSRMLS_CC);
484 zval *options = NULL, *opt, *item, ctor_args; local
503 "PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); "
525 "PDO::ATTR_STATEMENT_CLASS requires format array(classname, ctor_args); "
526 "ctor_args must be an array"
531 ZVAL_COPY_VALUE(&ctor_args, ite
[all...]
H A Dpdo_stmt.c56 ZEND_ARG_INFO(0, ctor_args) /* array */
66 ZEND_ARG_INFO(0, ctor_args) /* array */
751 zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args TSRMLS_CC);
758 } else if (!Z_ISUNDEF(stmt->fetch.cls.ctor_args)) {
810 if (!Z_ISUNDEF(stmt->fetch.cls.ctor_args)) {
820 if (!Z_ISUNDEF(stmt->fetch.cls.ctor_args) && free_ctor_agrs) {
821 zval_ptr_dtor(&stmt->fetch.cls.ctor_args);
822 ZVAL_UNDEF(&stmt->fetch.cls.ctor_args);
926 ZVAL_COPY_VALUE(&old_ctor_args, &stmt->fetch.cls.ctor_args);
1166 ZVAL_COPY_VALUE(&stmt->fetch.cls.ctor_args,
1304 zval old_ctor_args, *ctor_args = NULL; local
1390 zval old_ctor_args, *ctor_args = NULL; local
[all...]
H A Dphp_pdo_driver.h135 PDO_ATTR_STATEMENT_CLASS, /* array(classname, array(ctor_args)) to specify the class of the constructed statement */
617 zval ctor_args; /* freed */ member in struct:_pdo_stmt_t::__anon43::__anon44

Completed in 8 milliseconds