- var_dump: documentation ( source)
- htmlentities: documentation ( source)
- htmlspecialchars: documentation ( source)
<?php
$six = "➅";
$a = array(
"Raw" => $six,
"Length" => strlen($six),
"htmlentities()" => htmlentities($six),
"htmlspecialchars()" => htmlspecialchars($six),
);
var_dump($a);