Fix stats for PHP 5.4

Call-time pass-by-reference has been removed in php5.4
Merge pull request #110 from jirinapravnik/patch-1

Fix stats for PHP 5.4