Home  >  Q&A  >  body text

Why is it string after using gettype to get the type int?

Why is it string after using gettype to get the type int

ScreenShot_20170828080409.png

Aの汉Aの汉2583 days ago1517

reply all(3)I'll reply

  • 绅士

    绅士2017-12-07 17:39:35

    settype() directly converts the type of variable $fo (converting floating point type to integer type). Other methods will not change the original data type of the variable.

    reply
    1
  • Aの汉

    Aの汉2017-08-28 08:10:52

    I know, it turns out that gettype is to check the variable type by getting the type value of the variable

    reply
    0
  • 卖女孩的小火柴哟

    You know shit

    卖女孩的小火柴哟 · 2018-03-02 18:11:38
  • Cancelreply