0 AND strlen($num) < $tmp[2]) return true; return false; } echo (test("int ($len)", $n)) ? 'true' : 'false'; ?>