You are getting this error when you passed array value in the function. Often developers end up their code with this error:
Notice: Only variables should be passed by reference in D:\xampp\htdocs\xxx\abc.php on line 9
Why these errors occur?
If you are passing a real variable into the function, you could get this error. Because only actual variable may...