Lines Matching refs:mode_arg_num
1097 static bool pdo_stmt_verify_mode(pdo_stmt_t *stmt, zend_long mode, uint32_t mode_arg_num, bool fetc… in pdo_stmt_verify_mode() argument
1104 zend_argument_value_error(mode_arg_num, "must be a bitmask of PDO::FETCH_* constants"); in pdo_stmt_verify_mode()
1123 … zend_argument_value_error(mode_arg_num, "cannot be PDO::FETCH_LAZY in PDOStatement::fetchAll()"); in pdo_stmt_verify_mode()
1129 zend_argument_value_error(mode_arg_num, "must use PDO::FETCH_SERIALIZE with PDO::FETCH_CLASS"); in pdo_stmt_verify_mode()
1133 zend_argument_value_error(mode_arg_num, "must use PDO::FETCH_CLASSTYPE with PDO::FETCH_CLASS"); in pdo_stmt_verify_mode()
1137 zend_argument_value_error(mode_arg_num, "must be a bitmask of PDO::FETCH_* constants"); in pdo_stmt_verify_mode()
1700 bool pdo_stmt_setup_fetch_mode(pdo_stmt_t *stmt, zend_long mode, uint32_t mode_arg_num, in pdo_stmt_setup_fetch_mode() argument
1704 uint32_t arg1_arg_num = mode_arg_num + 1; in pdo_stmt_setup_fetch_mode()
1705 uint32_t constructor_arg_num = mode_arg_num + 2; in pdo_stmt_setup_fetch_mode()
1706 uint32_t total_num_args = mode_arg_num + variadic_num_args; in pdo_stmt_setup_fetch_mode()
1723 if (!pdo_stmt_verify_mode(stmt, mode, mode_arg_num, false)) { in pdo_stmt_setup_fetch_mode()
1740 ZSTR_VAL(func), mode_arg_num, total_num_args); in pdo_stmt_setup_fetch_mode()
1774 ZSTR_VAL(func), mode_arg_num, total_num_args); in pdo_stmt_setup_fetch_mode()
1844 zend_argument_value_error(mode_arg_num, "must be one of the PDO::FETCH_* constants"); in pdo_stmt_setup_fetch_mode()