PHP 8.4.24 Released!

Voting

: max(five, two)?
(Example: nine)

The Note You're Voting On

drallen at cs dot uwaterloo dot ca
15 years ago
A pointer to http://www.php.net/manual/en/function.mb-convert-encoding.php if your intention is to translate *all* characters in a charset to their corresponding HTML entities, not just named characters. Non-named characters will be replaced with HTML numeric encoding. eg:

$text = mb_convert_encoding($text, 'HTML-ENTITIES', "UTF-8");

<< Back to user notes page

To Top