Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -1105,9 +1105,11 @@ public function __destruct()
*
* @return array
*/
protected function refValues($arr)
protected function refValues(Array &$arr)
{
//Reference is required for PHP 5.3+
//Reference in the function arguments are required for HHVM to work
//https://github.com/facebook/hhvm/issues/5155
//Referenced data array is required by mysqli since PHP 5.3+
if (strnatcmp(phpversion(), '5.3') >= 0) {
$refs = array();
foreach ($arr as $key => $value) {
Expand Down