I'm using a MysqliDb class and it gives this error:
"Deprecated: Call-time pass-by-reference has been deprecated in C:...\MySqlDb.php on line 101", 340, 348 and 375
where is a array_push function:
array_push($params, &$bindParams[$prop]);
array_push($this->_bindParams, &$tableData[$prop]);
I removed the "&" and it worked but just for these /\ two, but not for these / two (giving a lot of errors)
if($hasConditional) {
if ($this->_where) {
$this->_bindParams[0] .= $this->_whereTypeList;
foreach ($this->_where as $prop => $val) {
array_push($this->_bindParams, &$this->_where[$prop]);
}
}
}
and
while ($field = $meta->fetch_field()) {
array_push($parameters, &$row[$field->name]);
}
The MysqliDb class can be found here: https://github.com/ajillion/PHP-MySQLi-Database-Class