Used PHP builtin version_compare for mb_substr() patch.