Recommand exception instead of NaN and Infinity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux