what is the best substitute for settype() in php 5.3.5 due to this error/warnings
Deprecated: Call-time
pass-by-reference has been deprecated
in
C:\xampp\htdocs\MyWebInterface\includes\payroll_cutoff.inc.php
on line 217
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 yoursettype()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.