Allow for PHP functions that return references.
Merge pull request #129 from KorvinSzanto/develop

Allow for PHP functions that return references.