Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.3] Changed startsWith and endsWith to use substr (non mbstring) (#…
…15380) * Changed startsWith and endsWith to use substr (non mbstring), this is ok here because it doesn't matter whether it's multi-byte unicode chars or not, just that the same number of bytes match at the start or the end. The performance of the existing methods becomes increasingly slow with larger strings due to mbstring functions. * removed spacing between parenthesis
- Loading branch information