PHP 8.5.0 Alpha 4 available for testing

Voting

: max(four, two)?
(Example: nine)

The Note You're Voting On

Hector (hector-ordonez.com)
9 years ago
Simon Neaves's answer is incomplete: negative integers will return false.

I recommend checking stackoverflow's answers:
http://stackoverflow.com/questions/6416763/checking-if-a-variable-is-an-integer-in-php

<< Back to user notes page

To Top