We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4fd68c commit 4177849Copy full SHA for 4177849
MysqliDb.php
@@ -1105,9 +1105,11 @@ public function __destruct()
1105
*
1106
* @return array
1107
*/
1108
- protected function refValues($arr)
+ protected function refValues(Array &$arr)
1109
{
1110
- //Reference is required for PHP 5.3+
+ //Reference in the function arguments are required for HHVM to work
1111
+ //https://github.com/facebook/hhvm/issues/5155
1112
+ //Referenced data array is required by mysqli since PHP 5.3+
1113
if (strnatcmp(phpversion(), '5.3') >= 0) {
1114
$refs = array();
1115
foreach ($arr as $key => $value) {
0 commit comments