3v4l.org

run code in 300+ PHP versions simultaneously
<?php function match($str1, $str2) { return strpos($str1, $str2) !== FALSE; } echo match("test", "test string"); echo match(" test ", "string test test string");

preferences:
66.06 ms | 402 KiB | 5 Q