Created
August 6, 2012 16:54
-
-
Save ronan-gloo/3276553 to your computer and use it in GitHub Desktop.
is_string ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function is_html($string) | |
{ | |
return strlen(strip_tags($string)) < strlen($string); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment