3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "magnet sfdu baserate sfdurate magnetrate porate backsiderate listrate usecustomrate custbaserate custsfdurate custmagnetrate custlogorate custbacksiderate custlistrate backside weight layout logo list listtype inventory notes active monthlyavg months poinfo prepayment taxrate custtaxrate soldavg termination salesrepfirst salesreplast salesrepcode servicerepfirst servicereplast servicerepcode dealerrate usemasteracct masteracctid upcharge copychgcode website depositamt graphicamt holddate canceldate holdflag pmttype certterm usedefaultcertterm frontgraphic backgraphic mastergraphicacct usemastergraphic magnetflag sfduflag modificationdate contractdate cancelled flatratebilling flatrate respondentlist respondentrate twotierbilling tagalongrate oticdescription splitzips certtermtext loyaltyflag webconfid pocount pending waiting rejected sub_svcs_tier billcontactfirst billcontactlast billphone billfax billemail crrtrate crrt status"; $str = str_replace("\t", " ", $str); $str = str_replace(" ", " ", $str); $chunks = explode(" ", $str); foreach($chunks as $k=>$v) if(empty($v)) unset($chunks[$k]); echo '"'.implode('", "', $chunks).'"';
Output for 5.5.0 - 7.2.0
"magnet", "sfdu", "baserate", "sfdurate", "magnetrate", "porate", "backsiderate", "listrate", "usecustomrate", "custbaserate", "custsfdurate", "custmagnetrate", "custlogorate", "custbacksiderate", "custlistrate", "backside", "weight", "layout", "logo", "list", "listtype", "inventory", "notes", "active", "monthlyavg", "months", "poinfo", "prepayment", "taxrate", "custtaxrate", "soldavg", "termination", "salesrepfirst", "salesreplast", "salesrepcode", "servicerepfirst", "servicereplast", "servicerepcode", "dealerrate", "usemasteracct", "masteracctid", "upcharge", "copychgcode", "website", "depositamt", "graphicamt", "holddate", "canceldate", "holdflag", "pmttype", "certterm", "usedefaultcertterm", "frontgraphic", "backgraphic", "mastergraphicacct", "usemastergraphic", "magnetflag", "sfduflag", "modificationdate", "contractdate", "cancelled", "flatratebilling", "flatrate", "respondentlist", "respondentrate", "twotierbilling", "tagalongrate", "oticdescription", "splitzips", "certtermtext", "loyaltyflag", "webconfid", "pocount", "pending", "waiting", "rejected", "sub_svcs_tier", "billcontactfirst", "billcontactlast", "billphone", "billfax", "billemail", "crrtrate", "crrt", "status"