Allow for PHP functions that return references.