Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
値が整数であっても is_int() が double を返すのはなぜですか??
$value = 1555555555; echo gettype($value);
integer
$value = 15555555552; echo gettype($value);
double
あなたは整数の限界に達したので、ここでさらに読んでください:
http://php.net/manual/en/language.types.integer.php