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:
44.4 ms | 402 KiB | 5 Q