Now with PHP 8 you can do this using str_contains: if (str_contains('How are you', 'are')) { echo 'true'; }. RFC. Before PHP 8.
確定! 回上一頁