3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "one blah, two blah blah three"; if (strpos($line, "one") !== false && strpos($line, "two") !== false && strpos($line, "three") !== false) { echo "matched all three"; } else { echo "didn't match all three"; }

preferences:
49.63 ms | 402 KiB | 5 Q