3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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);
Output for 5.0.0 - 7.1.0
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', '
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /in/B7cjS on line 64
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected '&', expecting T_VARIABLE or '$' in /in/B7cjS on line 64
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /in/B7cjS on line 64
Process exited with code 255.