3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'adafullgospel bahiavista bibleinfo cacdenver CalvaryLighthouse calvarymiami cccbrasil ccmonrovia ccmontgomery ccwcflorida championcowboychurch Christian-Retreat churchnorthridge COGTV collincreekcommunity countrybible ctministries fairviewcolumbus fbcedmond fbcstatesboro fob FPCRosevilleSundayMessage fumcbrandon gracelandbaptist gracenassau guidinglight hopeandlife impactchurchaz laicc lbc ljcc mckinneychurch metro muskogeefirstassembly newbeginningsbaptistchurch NewImageOutreach onelifechanged parkview pinetree plcministries pmumc providenceduluth rhcc river southpointcc stevenstrooh stmatthews StMichaels stpaulscathedral stratfordheights SUM thechurch thecountrytabernacle therockcommunitychurch tulsachurchofgod TwinOaksChurch wilshire '; $a = explode("\n", $s); foreach ($a as &$url) { $url = strtolower($url); } echo implode("', '", $a);

preferences:
43.64 ms | 402 KiB | 5 Q