Is there any difference between typecasting and using a function to convert a variable to some type?
(float)$var
VS. floatval($var)
If there are, when one of those should be used instead of the other?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…