<?php $string = "123"; if(is_numeric($string)){ echo "numeric <br>"; } else { echo "not numeric <br>"; } if(is_bool($string)) { echo "it is bool"; } else { echo "no bool"; } ?>
You have javascript disabled. You will not be able to edit any code.