I read that php integer type has NaN and Infinity,
https://www.php.net/manual/en/language.types.integer.php
I don’t think this make sense. Maybe throwing exceptions when NaN and Infinity is a better and simple solution.
https://www.php.net/manual/en/language.types.integer.php
I don’t think this make sense. Maybe throwing exceptions when NaN and Infinity is a better and simple solution.
Simple is very important for a programming language.