Three long awaited string functions are finally added to PHP: `str_contains`, `str_starts_with ` and `str_ends_with`.
💸 Buy the full Front Line PHP course with a nice discount by using this link: https://spatie.be/products/front-line...
Links:
• Front Line PHP; the book that explains all PHP 8 features and modern PHP in depth: https://front-line-php.com/
• The `str_contains` RFC: https://wiki.php.net/rfc/str_contains
• The `str_starts_with` and `str_ends_wit` RFC: https://wiki.php.net/rfc/add_str_star...
📦 Check out our open source packages: https://spatie.be/open-source
❤️ Support us: https://spatie.be/open-source/support-us
🐦 Twitter: / spatie_be
🔷 Facebook: / spatie.be
📸 Instagram: / spatie_be