我将其发布为答案的唯一原因是我无法将其发布为评论。
/**
* (PHP 5 >= 5.1.0, PECL pdo >= 0.1.0)<br/>
* Bind a column to a PHP variable
* @link http://php.net/manual/en/pdostatement.bindcolumn.php
* @param mixed $column <p>
* Number of the column (1-indexed) or name of the column in the result set.
* If using the column name, be aware that the name should match the
* case of the column, as returned by the driver.
* </p>
* @param mixed $param <p>
* Name of the PHP variable to which the column will be bound.
* </p>
* @param int $type [optional] <p>
* Data type of the parameter, specified by the PDO::PARAM_* constants.
* </p>
* @param int $maxlen [optional] <p>
* A hint for pre-allocation.
* </p>
* @param mixed $driverdata [optional] <p>
* Optional parameter(s) for the driver.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public function bindColumn ($column, &$param, $type = null, $maxlen = null, $driverdata = null) {}
让自己成为一个体面的 IDE 人,它会产生奇迹。