Fix PHP "return by reference" notice

Must return a variable and not result of expression.
Merge pull request #8 from kabel/master

Fix PHP "return by reference" notice