Avoid passing the variables of a function by reference(PHP) | CAST Appmarq