PHP upgrade causes MYSQLI pass by reference error
===

This was a reported bug that I'm trying to work around, client has just upgrade from PHP V-whoknowswhat
to PHP V5.3. I believe this error here is one of many that is messing up the site. Anyway, long story short,
I need to pass $params as a reference instead of as a value, but I'm confused how to do it? Maybe some
help?

__Parameter 2 to mysqli_stmt::bind_param() expected to be a reference, value given in ../Zend/Db/Statement/Mysqli.php__

        // send $params as input parameters to the statement
        if ($params) {
            array_unshift($params, str_repeat('s', count($params)));
           
            call_user_func_array(
                array($this->_stmt, 'bind_param'),
                $params
            );
        }


Here's the bug report, i tried the lazy way that it talks about and it just whitescreened me without error =(

https://bugs.php.net/bug.php?id=43568