Hacker News new | ask | show | jobs
by kingkool68 2129 days 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.
1 comments

For those who need them

EDIT: Actually, there are polyfills here: https://php.watch/versions/8.0/str_starts_with-str_ends_with