Deprecated: Call-time pass-by-reference has been deprecated in
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\M开发者_Python百科yWebInterface\includes\payroll_cutoff.inc.php on line 217
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.
精彩评论