NaN = Not a number
Infinity = A number that is infinite (ex: log(0))
Not sure I understand your question. Can you elaborate on it please.
On Thu, Aug 15, 2019 at 9:18 PM 251099795 <251099795@xxxxxx> wrote:
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.Simple is very important for a programming language.