issue #8 fix (PHP 5.4 call-time pass-by-reference removed)

All pass-by-reference calls were removed.