strlen is not a portable way of requesting the count of bytes in a PHP string.