Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PHP - Lower, Higher, Same functions
function isLowerThan($num, $as){
return $num < $as ? true : false;
function isHigherThan($num, $as){
return $num > $as ? true : false;
function isSameThan($num, $as){
return $num === $as ? true : false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment