7 ms·
I'm most excited about str_contains(), str_starts_with(), and str_ends_with(). Call me simple but I'm so glad I don't need to come up with weird work arounds fo
by kingkool68 6y ago
I'm most excited about str_contains(), str_starts_with(), and str_ends_with(). Call me simple but I'm so glad I don't need to come up with weird work arounds for those functions.
- totony 6y agoFor those who need them EDIT: Actually, there are polyfills here: https://php.watch/versions/8.0/str_starts_with-str_ends_with https://php.watch/versions/8.0/str_starts_with-str_ends_with