This method translates the following characters to their corresponding
HTML entities: <, >, "
Note, unlike {@link htmlspecialchars}, & is not translated.
public static htmlEncode ( $s ) : string | ||
Результат | string | encoded string |
public static htmlEncode ( $s ) : string | ||
Результат | string | encoded string |