- All functions and operators work on Code Points (characters) and not Code Units (bytes)
- Backward compatible if you only used single byte encodings before
- This does create overhead though, as we need to scan through a whole string
String Indexes:
<?php
$string = "网页搜索";
// bytes are: E7 BD 91 E9 A1 B5 E6 90 9C E7 B4 A2
echo $string[1];
?>
Output