public function bindParam($param, &$value, $type=null, $leng=null, $driver=null)
    {
        $ok = false;
        try {
            $param = $this->_getBindVar($param);
            if ($type && $leng) {
                $ok = \oci_bind_by_name($this->_stmt, $param, $value, $leng, $this->_pdoToOciType($type));
            } else {
                $ok = \oci_bind_by_name($this->_stmt, $param, $value);
            }
            $this->_binds[$param] = $value;
        } catch (\Exception $e) {
            throw new \PDOException($e->getMessage());
        }
        return $ok;
    }
public function bindParam($param, &$value, $type=null, $leng=null, $driver=null)
    {
        $ok = false;
        try {
            $param = $this->_getBindVar($param);
            if ($type && $leng) {
                $ok = \oci_bind_by_name($this->_stmt, $param, $value, $leng, $this->_pdoToOciType($type));
            } else {
                $ok = \oci_bind_by_name($this->_stmt, $param, $value);
            }
            $this->_binds[$param] = $value;
        } catch (\Exception $e) {
            throw new \PDOException($e->getMessage());
        }
        return $ok;
    }
public function bindParam ( $ param , & $ value , $ type = null , $ leng = null , $ driver = null ) { $ ok = false ; try { $ param = $ this -> _getBindVar ( $ param ) ; if ( $ type && $ leng ) { $ ok = \ oci_bind_by_name ( $ this -> _stmt , $ param , $ value , $ leng , $ this -> _pdoToOciType ( $ type ) ) ; } else { $ ok = \ oci_bind_by_name ( $ this -> _stmt , $ param , $ value ) ; } $ this -> _binds [ $ param ] = $ value ; } catch ( \ Exception $ e ) { throw new \ PDOException ( $ e -> getMessage ( ) ) ; } return $ ok ; }
Binds a param

@param mixed $param  param (column)
@param mixed $value  value for param
@param mixed $type   optional data type
@param mixed $leng   optional length
@param mixed $driver driver data

@return bool bound
Binds a param