PHP 8.4.0 Alpha 1 available for testing

Voting

The Note You're Voting On

Simo
9 years ago
#3 is not a good example. inverse("0a") would not be caught since (bool) "0a" returns true, yet 1/"0a" casts the string to integer zero and attempts to perform the calculation.

<< Back to user notes page

To Top