src/Budkit/Helper/Object.php
final private function referencedArgs(&$arr)
    {
        if (strnatcmp(phpversion(), '5.3') >= 0) { //Reference is required for PHP 5.3+
            $refs = array();
            foreach ($arr as $key => $value)
                $refs[] = &$arr[$key];
            return $refs;
        }

        return $arr;
    }
final private function referencedArgs(&$arr)
    {
        if (strnatcmp(phpversion(), '5.3') >= 0) { //Reference is required for PHP 5.3+
            $refs = array();
            foreach ($arr as $key => $value)
                $refs[] = &$arr[$key];
            return $refs;
        }

        return $arr;
    }
final private function referencedArgs ( & $ arr ) { if ( strnatcmp ( phpversion ( ) , '5.3' ) >= 0 ) { //Reference is required for PHP 5.3+ $ refs = array ( ) ; foreach ( $ arr as $ key => $ value ) $ refs [ ] = & $ arr [ $ key ] ; return $ refs ; } return $ arr ; }
Solution to passing data by reference,

http://ca.php.net/manual/en/mysqli-stmt.bind-param.php#96770
@param type $arr
@return type
Solution to passing data by reference