src/Statement.php
public function bind($columnID, &$variable): Statement
    {
        if (is_numeric($columnID)) {
            //PDO columns are 1-indexed
            $columnID = $columnID + 1;
        }

        $this->bindColumn($columnID, $variable);

        return $this;
    }
public function bind($columnID, &$variable): Statement
    {
        if (is_numeric($columnID)) {
            //PDO columns are 1-indexed
            $columnID = $columnID + 1;
        }

        $this->bindColumn($columnID, $variable);

        return $this;
    }
public function bind ( $ columnID , & $ variable ) : Statement { if ( is_numeric ( $ columnID ) ) { //PDO columns are 1-indexed $ columnID = $ columnID + 1 ; } $ this -> bindColumn ( $ columnID , $ variable ) ; return $ this ; }
Bind a column value to a PHP variable. Aliased to bindParam.

@param int|string $columnID Column number (0 - first column)
@param mixed      $variable

@return self|$this
Bind a column value to a PHP variable . Aliased to bindParam .