Avoid having variables passed by reference when calling a function (PHP) | CAST Appmarq