Commit 4a6cfd9d authored by ivan's avatar ivan

Added $length parameter to Driver/Statement interface so it follows

previous changes in bindparam function
parent ba7aa61d
...@@ -70,9 +70,10 @@ interface Statement extends ResultStatement ...@@ -70,9 +70,10 @@ interface Statement extends ResultStatement
* @param integer $type Explicit data type for the parameter using the PDO::PARAM_* constants. To return * @param integer $type Explicit data type for the parameter using the PDO::PARAM_* constants. To return
* an INOUT parameter from a stored procedure, use the bitwise OR operator to set the * an INOUT parameter from a stored procedure, use the bitwise OR operator to set the
* PDO::PARAM_INPUT_OUTPUT bits for the data_type parameter. * PDO::PARAM_INPUT_OUTPUT bits for the data_type parameter.
* @param integer $length You must specify maxlength when using an OUT bind so that PHP allocates enough memory to hold the returned value.
* @return boolean Returns TRUE on success or FALSE on failure. * @return boolean Returns TRUE on success or FALSE on failure.
*/ */
function bindParam($column, &$variable, $type = null); function bindParam($column, &$variable, $type = null, $length = null);
/** /**
* errorCode * errorCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment