3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = 'Managed WordPress Hosting'; $findme = 'WordPress'; if (str_contains($mystring, $findme)) { echo "The string has been found"; } else { echo "String not found"; }

preferences:
23.59 ms | 404 KiB | 5 Q