Fix for Only variables should be passed by reference [PHP requirement]

This is generated as runtime notice.