[Solved] Deprecated: Call-time pass-by-reference has been deprecated in


settype() hasn’t been deprecated. Passing by reference at call time has been deprecated. You probably just want to remove the ampersand from in front of the first parameter to your settype() call.

That would be easier to tell for sure if you actually posted your code…

See the manual for more information on references in general, and passing by reference and the deprecation of references in function calls in particular.

2

solved Deprecated: Call-time pass-by-reference has been deprecated in