PHP 8.1.28 Released!



add a note

User Contributed Notes 1 note

4 years ago
I thought the PHP developers should include in this section, the operator "identity" ( see

From an arithmetic point of view, this operator is useless but, as a converter from string to number, it is great. It does not force the numerical string to have an integer or float type, instead, it automatically determines the adequate type, depending on the numerical quantity represented by the string.
To Top