mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix PDOStatement::bindColumn() parameter default value
This commit is contained in:
parent
6800f0a3c2
commit
d7ae64627f
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
class PDOStatement implements IteratorAggregate
|
class PDOStatement implements IteratorAggregate
|
||||||
{
|
{
|
||||||
/** @return bool */
|
/** @return bool */
|
||||||
public function bindColumn(string|int $column, mixed &$var, int $type = 0, int $maxLength = 0, mixed $driverOptions = null) {}
|
public function bindColumn(string|int $column, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null) {}
|
||||||
|
|
||||||
/** @return bool */
|
/** @return bool */
|
||||||
public function bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null) {}
|
public function bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null) {}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/* This is a generated file, edit the .stub.php file instead.
|
/* This is a generated file, edit the .stub.php file instead.
|
||||||
* Stub hash: 9d890849a08b43cb35e2cd8468aeaabfc0a7f218 */
|
* Stub hash: 764dfcd532d90de147f5e4b17e8a56e1545e289c */
|
||||||
|
|
||||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindColumn, 0, 0, 2)
|
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindColumn, 0, 0, 2)
|
||||||
ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
|
ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
|
||||||
ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
|
ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
|
||||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "0")
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "PDO::PARAM_STR")
|
||||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxLength, IS_LONG, 0, "0")
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxLength, IS_LONG, 0, "0")
|
||||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, driverOptions, IS_MIXED, 0, "null")
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, driverOptions, IS_MIXED, 0, "null")
|
||||||
ZEND_END_ARG_INFO()
|
ZEND_END_ARG_INFO()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue