strlen() implementation that isn't brittle to mbstring.func_overload
This version uses mb_strlen() in '8bit' mode to treat strings as raw binary rather than UTF-8, ISO-8859-1, etc
| Parameters | |||
|---|---|---|---|
| string | $binary_string | # | |
| Returns | |
|---|---|
| int | |
| Throws | |
|---|---|
| TypeError | |