3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'ACC: "Advanced Cable Communications" ANTIETAM: "Antietam Cable Television" ATMC: "ATMC" ATT: "AT&T U-verse" BUCKEYE: "Buckeye CableSystem" BVU: "BVU Optinet" CBT: "Cincinnati Bell Fioptics" CLEARCREEK: "Clear Creek Communications" Cablevision: "Optimum" Comcast_SSO: "Comcast XFINITY" ElasticSSOIframe: "FNG Employee/Guest" FRONTIER: "Frontier Communications" GREENLIGHT: "Greenlight Cable" GUAM: "Docomo Pacific" HBC: "HBC" JEA: "Jackson Energy Authority" MICONNECTION: "MI-Connection" ORBITEL: "Orbitel" Suddenlink: "Suddenlink" WOW: "WOW!" acecommunications: "ACE Communications" acm010: "Acme Communications" algona: "Algona Municipal Utilities" all070: "ALLO Communications" allwest: "All West Communications" alpine: "Alpine Communications" annearundel: "Broadstripe" arkwest: "Arkwest Communications" arvig: "Arvig" astound: "Astound" auth_armstrongmywire_com: "Armstrong" auth_atlanticbb_net: "Atlantic Broadband" auth_cableone_net: "Cable ONE" auth_centurylink_net: "CenturyLink Prism" auth_hawaiiantel_net: "Hawaiian Telcom" auth_metrocast_net: "MetroCast" auth_surewest_net: "SureWest (Consolidated Communications)" auth_truvista_net: "TruVista" baldwin: "Baldwin Telecom, Inc." baycreek: "Bay Creek Communications" bci010: "Vyve Broadband" bra010: "Limestone Cable/Bracken Cable" bra020: "BELD" btc010: "BTC Communications" burlington_auth-gateway_net: "Burlington Telecom" but010: "Butler-Bremer Communications" cab060: "USA Communications" cab140: "Cable TV of Stanton" cableamerica: "CableAmerica" cam010: "Pinpoint Communications" canbytel: "Canby Telcom" car050: "Carnegie Cable" car100: "Innovative Cable TV St Thomas-St John" carolinata: "West Carolina Communications" cas: "CAS Cable" casscomm: "CASSCOMM" cat020: "Comporium" cccomm: "CC Communications" cen100: "CentraCom" cfunet: "Cedar Falls Utilities" cic010: "NineStar Connect" cimtel: "Cim-Tel Cable, LLC." cit040: "Citizens Telecom" cit180: "Citizens Cablevision - Floyd, VA" cit210: "Citizens Cablevision, Inc." cit220: "Tullahoma Utilities Board" cla010: "Clarence Telephone and Cedar Communications" clickcabletv_auth-gateway_net: "Click! Cable TV" clr010: "Giant Communications" cml010: "CML Telephone Cooperative Association" cns: "CNS" com050: "The Community Agency" com140: "Access Montana" consolidated_auth-gateway_net: "Consolidated Communications" consolidatedcable: "Consolidated" conwaycorp: "Conway Corporation" cou060: "Zito Media" crestview: "Crestview Cable Communications" cro030: "Crosslake Communications" cross: "Cross TV" crt020: "CapRock Tv" csicable: "Cable Services Inc." ctc040: "CTC - Brainerd MN" ctcommunications: "CT Communications" cun010: "Cunningham Telephone and Cable" dak030: "Dakota Central Telecommunications" daltonutilities: "OptiLink" dem010-01: "Celect-Bloomer Telephone Area" dem010-02: "Celect-Bruce Telephone Area" dem010-03: "Celect-Citizens Connected Area" dem010-04: "Celect-Elmwood/Spring Valley Area" dem010-05: "Celect-West WI Telephone Area" dix030: "ATC Broadband" dur010: "Chippewa Valley Cable" dur010-nel: "Nelson Telephone Cooperative" eagle: "Eagle Communications" eatel: "EATEL Video, LLC" emerytelcom: "Emery Telcom Video LLC" endeavor: "Endeavor Communications" epb_auth-gateway_net: "EPB Fiber Optics" fbc-tele: "FandB Communications" fbcomm: "Frankfort Plant Board" fid010: "Fidelity Communications" fli020: "Flint River Communications" frontier: "FiOS TV from Frontier" fullchannel: "Full Channel, Inc." gbt010: "GBT Communications, Inc." gci_auth-gateway_net: "GCI" gla010: "Glasgow EPB" gle010: "Glenwood Telecommunications" goldenwest: "Golden West Cablevision" googlefiber_auth-gateway_net: "Google Fiber" gpcom: "Great Plains Communications" gra060: "GLW Broadband Inc." gta_auth-gateway_net: "GTA" gvtc_auth-gateway_net: "GVTC" har005: "Harlan Municipal Utilities" har020: "Hart Communications" hargray_auth-gateway_net: "Hargray" hea040: "Heart of Iowa Communications Cooperative" hickorytech_auth-gateway_net: "Enventis formerly HickoryTech" hometel: "HomeTel Entertainment, Inc." hometelecom_auth-gateway_net: "Home Telecom" hometowncable_auth-gateway_net: "Home Town Cable" hoodcanal: "Hood Canal Communications" horizoncable: "Horizon Cable TV, Inc." hotwirecommunications_auth-gateway_net: "Hotwire Communications" htc020: "Hickory Telephone Company" htccomm: "HTC Communications, Inc. - IA" hun015: "American Broadband" icc010: "Inside Connect Cable" imon: "ImOn Communications" int050: "Interstate Telecommunications Coop" kal030: "Kalona Cooperative Telephone Company" kmt010: "KMTelecom" knology_auth-gateway_net: "KNOLOGY" kpu010: "KPU Telecommunications" kuh010: "Kuhn Communications, Inc." lau020: "Laurel Highland Total Communications, Inc." lit020: "Litestream" lns010: "Lost Nation-Elwood Telephone Co." loc010: "LocalTel Communications" longlines_auth-gateway_net: "Long Lines" lumos: "Lumos Networks" madison: "Madison Communications" man060: "MTCC" mck010: "Peoples Rural Telephone Cooperative" mctv: "MCTV" merrimac: "Merrimac Communications Ltd." metronet: "Metronet" mhtc: "MHTC" mid030: "enTouch" mid045: "Midstate Communications" midhudson: "Mid-Hudson Cable" midrivers: "Mid-Rivers Communications" mil080: "Milford Communications" morrisbroadband_auth-gateway_net: "Morris Broadband" mpw: "Muscatine Power and Water" msauth_midco_net: "Midcontinent Communications" mtacomm: "MTA Communications, LLC" musfiber: "MUS FiberNET" myrtu_auth-gateway_net: "Reinbeck Telecommunications Utility" nctc: "Nebraska Central Telecom, Inc." net010: "Nsight Telservices" new045: "NU-Telecom" nextech_auth-gateway_net: "Nex-Tech" nktelco: "NKTelco" nor030: "Northland Communications" nor125: "Norwood Light Broadband" nor140: "North Central Telephone Cooperative" nor240: "NICP" nortex: "Nortex Communications" nttcash010: "Ashland Home Net" nttcwhi010: "Whidbey Telecom" nulink: "NuLink" nwcable_auth-gateway_net: "NewWave Communications" onesource: "OneSource Communications" openband_auth-gateway_net: "OpenBand" ote010: "OTEC Communication Company" otter: "Park Region Telephone and Otter Tail Telcom" pac12enterprises: "PAC12 Enterprises" paulbunyan: "Paul Bunyan Communications" pem020: "Pembroke Telephone Company" phe030: "Cable TV of East Alabama" phonoscope: "Phonoscope Cable" pie010: "Surry TV/PCSI TV" pioncomm: "Pioneer Communications" pioneer: "Pioneer DTV" pottawatomie: "Pottawatomie Telephone Co." premiercomm: "Premier Communications" rai030: "Rainier Connect" ree010: "Reedsburg Utility Commission" rma: "RMA Broadband and Cable TV" rockportcable: "Rock Port Cablevision" rtc: "RTC Communication Corp" selco: "SELCO" service-electric: "Service Electric Cable TV and Communications" service-electric-bb: "Service Electric Broadband" serviceelectric_auth-gateway_net: "Service Electric Cablevision" she005: "USA Communications- Shellsburg, IA" she010: "Shentel" sjoberg: "Sjoberg\'s Inc." sky050: "SkyBest TV" sou035: "South Slope Cooperative Communications" sou075: "South Central Rural Telephone Cooperative" spe010: "Spencer Municipal Utilities" spl010: "Alliance Communications" srt010: "SRT" stc020: "Innovative Cable TV St Croix" sul015: "Venture Communications Cooperative, Inc." sum010: "Sumner Cable TV" sweetwater: "Sweetwater Cable Television Co" tcc: "Tri County Communications Cooperative" tct: "TCT West, Inc." tds_auth-gateway_net: "TDS" tel095: "Beaver Creek Cooperative Telephone" tel160-csp: "C Spire" tel160-del: "Delta Telephone Company" tel160-fra: "Franklin Telephone Company" telus_auth-gateway_net: "Telus" tro010: "Troy Cablevision, Inc." tsc: "TSC" tvtinc: "Twin Valley" uss020: "US Sonet" ver025: "Vernon Communications" vis070: "Vision Communications" volcanotel: "Volcano Vision, Inc." wadsworth: "CityLink" waitsfield: "Waitsfield Cable" wal010: "Walnut Communications" war040: "Citizens Telephone Corporation" wavebroadband: "Wave Broadband" wct010: "West Central Telephone Association" wcta: "Winnebago Cooperative Telecom Association" weh010-camtel: "Cam-Tel Company" weh010-east: "East Arkansas Cable TV" weh010-hope: "Hope - Prescott Cable TV" weh010-longview: "Longview - Kilgore Cable TV" weh010-pine: "Pine Bluff Cable TV" weh010-resort: "Resort TV Cable" weh010-talequah: "Tahlequah Cable TV" weh010-vicksburg: "Vicksburg Video" weh010-white: "White County Cable TV" wes110: "West River Cooperative Telephone Company" westianet: "Western Iowa Networks" win090: "Windstream" wtc010: "WTC" www_websso_mybrctv_com: "Blue Ridge Communications" zzElasticSSOIframe: "Fox Networks Guest"'; $entries = explode("\n", $var); preg_match_all('#^(?<key>.*): "(?<value>.*)"$#m', $var, $matches); $new = array(); $i = 0; foreach($matches['key'] as $key) { $new[$key] = $matches['value'][$i]; $i++; } echo json_encode($new);
Output for git.master, git.master_jit, rfc.property-hooks
{"ACC":"Advanced Cable Communications","ANTIETAM":"Antietam Cable Television","ATMC":"ATMC","ATT":"AT&T U-verse","BUCKEYE":"Buckeye CableSystem","BVU":"BVU Optinet","CBT":"Cincinnati Bell Fioptics","CLEARCREEK":"Clear Creek Communications","Cablevision":"Optimum","Comcast_SSO":"Comcast XFINITY","ElasticSSOIframe":"FNG Employee\/Guest","FRONTIER":"Frontier Communications","GREENLIGHT":"Greenlight Cable","GUAM":"Docomo Pacific","HBC":"HBC","JEA":"Jackson Energy Authority","MICONNECTION":"MI-Connection","ORBITEL":"Orbitel","Suddenlink":"Suddenlink","WOW":"WOW!","acecommunications":"ACE Communications","acm010":"Acme Communications","algona":"Algona Municipal Utilities","all070":"ALLO Communications","allwest":"All West Communications","alpine":"Alpine Communications","annearundel":"Broadstripe","arkwest":"Arkwest Communications","arvig":"Arvig","astound":"Astound","auth_armstrongmywire_com":"Armstrong","auth_atlanticbb_net":"Atlantic Broadband","auth_cableone_net":"Cable ONE","auth_centurylink_net":"CenturyLink Prism","auth_hawaiiantel_net":"Hawaiian Telcom","auth_metrocast_net":"MetroCast","auth_surewest_net":"SureWest (Consolidated Communications)","auth_truvista_net":"TruVista","baldwin":"Baldwin Telecom, Inc.","baycreek":"Bay Creek Communications","bci010":"Vyve Broadband","bra010":"Limestone Cable\/Bracken Cable","bra020":"BELD","btc010":"BTC Communications","burlington_auth-gateway_net":"Burlington Telecom","but010":"Butler-Bremer Communications","cab060":"USA Communications","cab140":"Cable TV of Stanton","cableamerica":"CableAmerica","cam010":"Pinpoint Communications","canbytel":"Canby Telcom","car050":"Carnegie Cable","car100":"Innovative Cable TV St Thomas-St John","carolinata":"West Carolina Communications","cas":"CAS Cable","casscomm":"CASSCOMM","cat020":"Comporium","cccomm":"CC Communications","cen100":"CentraCom","cfunet":"Cedar Falls Utilities","cic010":"NineStar Connect","cimtel":"Cim-Tel Cable, LLC.","cit040":"Citizens Telecom","cit180":"Citizens Cablevision - Floyd, VA","cit210":"Citizens Cablevision, Inc.","cit220":"Tullahoma Utilities Board","cla010":"Clarence Telephone and Cedar Communications","clickcabletv_auth-gateway_net":"Click! Cable TV","clr010":"Giant Communications","cml010":"CML Telephone Cooperative Association","cns":"CNS","com050":"The Community Agency","com140":"Access Montana","consolidated_auth-gateway_net":"Consolidated Communications","consolidatedcable":"Consolidated","conwaycorp":"Conway Corporation","cou060":"Zito Media","crestview":"Crestview Cable Communications","cro030":"Crosslake Communications","cross":"Cross TV","crt020":"CapRock Tv","csicable":"Cable Services Inc.","ctc040":"CTC - Brainerd MN","ctcommunications":"CT Communications","cun010":"Cunningham Telephone and Cable","dak030":"Dakota Central Telecommunications","daltonutilities":"OptiLink","dem010-01":"Celect-Bloomer Telephone Area","dem010-02":"Celect-Bruce Telephone Area","dem010-03":"Celect-Citizens Connected Area","dem010-04":"Celect-Elmwood\/Spring Valley Area","dem010-05":"Celect-West WI Telephone Area","dix030":"ATC Broadband","dur010":"Chippewa Valley Cable","dur010-nel":"Nelson Telephone Cooperative","eagle":"Eagle Communications","eatel":"EATEL Video, LLC","emerytelcom":"Emery Telcom Video LLC","endeavor":"Endeavor Communications","epb_auth-gateway_net":"EPB Fiber Optics","fbc-tele":"FandB Communications","fbcomm":"Frankfort Plant Board","fid010":"Fidelity Communications","fli020":"Flint River Communications","frontier":"FiOS TV from Frontier","fullchannel":"Full Channel, Inc.","gbt010":"GBT Communications, Inc.","gci_auth-gateway_net":"GCI","gla010":"Glasgow EPB","gle010":"Glenwood Telecommunications","goldenwest":"Golden West Cablevision","googlefiber_auth-gateway_net":"Google Fiber","gpcom":"Great Plains Communications","gra060":"GLW Broadband Inc.","gta_auth-gateway_net":"GTA","gvtc_auth-gateway_net":"GVTC","har005":"Harlan Municipal Utilities","har020":"Hart Communications","hargray_auth-gateway_net":"Hargray","hea040":"Heart of Iowa Communications Cooperative","hickorytech_auth-gateway_net":"Enventis formerly HickoryTech","hometel":"HomeTel Entertainment, Inc.","hometelecom_auth-gateway_net":"Home Telecom","hometowncable_auth-gateway_net":"Home Town Cable","hoodcanal":"Hood Canal Communications","horizoncable":"Horizon Cable TV, Inc.","hotwirecommunications_auth-gateway_net":"Hotwire Communications","htc020":"Hickory Telephone Company","htccomm":"HTC Communications, Inc. - IA","hun015":"American Broadband","icc010":"Inside Connect Cable","imon":"ImOn Communications","int050":"Interstate Telecommunications Coop","kal030":"Kalona Cooperative Telephone Company","kmt010":"KMTelecom","knology_auth-gateway_net":"KNOLOGY","kpu010":"KPU Telecommunications","kuh010":"Kuhn Communications, Inc.","lau020":"Laurel Highland Total Communications, Inc.","lit020":"Litestream","lns010":"Lost Nation-Elwood Telephone Co.","loc010":"LocalTel Communications","longlines_auth-gateway_net":"Long Lines","lumos":"Lumos Networks","madison":"Madison Communications","man060":"MTCC","mck010":"Peoples Rural Telephone Cooperative","mctv":"MCTV","merrimac":"Merrimac Communications Ltd.","metronet":"Metronet","mhtc":"MHTC","mid030":"enTouch","mid045":"Midstate Communications","midhudson":"Mid-Hudson Cable","midrivers":"Mid-Rivers Communications","mil080":"Milford Communications","morrisbroadband_auth-gateway_net":"Morris Broadband","mpw":"Muscatine Power and Water","msauth_midco_net":"Midcontinent Communications","mtacomm":"MTA Communications, LLC","musfiber":"MUS FiberNET","myrtu_auth-gateway_net":"Reinbeck Telecommunications Utility","nctc":"Nebraska Central Telecom, Inc.","net010":"Nsight Telservices","new045":"NU-Telecom","nextech_auth-gateway_net":"Nex-Tech","nktelco":"NKTelco","nor030":"Northland Communications","nor125":"Norwood Light Broadband","nor140":"North Central Telephone Cooperative","nor240":"NICP","nortex":"Nortex Communications","nttcash010":"Ashland Home Net","nttcwhi010":"Whidbey Telecom","nulink":"NuLink","nwcable_auth-gateway_net":"NewWave Communications","onesource":"OneSource Communications","openband_auth-gateway_net":"OpenBand","ote010":"OTEC Communication Company","otter":"Park Region Telephone and Otter Tail Telcom","pac12enterprises":"PAC12 Enterprises","paulbunyan":"Paul Bunyan Communications","pem020":"Pembroke Telephone Company","phe030":"Cable TV of East Alabama","phonoscope":"Phonoscope Cable","pie010":"Surry TV\/PCSI TV","pioncomm":"Pioneer Communications","pioneer":"Pioneer DTV","pottawatomie":"Pottawatomie Telephone Co.","premiercomm":"Premier Communications","rai030":"Rainier Connect","ree010":"Reedsburg Utility Commission","rma":"RMA Broadband and Cable TV","rockportcable":"Rock Port Cablevision","rtc":"RTC Communication Corp","selco":"SELCO","service-electric":"Service Electric Cable TV and Communications","service-electric-bb":"Service Electric Broadband","serviceelectric_auth-gateway_net":"Service Electric Cablevision","she005":"USA Communications- Shellsburg, IA","she010":"Shentel","sjoberg":"Sjoberg's Inc.","sky050":"SkyBest TV","sou035":"South Slope Cooperative Communications","sou075":"South Central Rural Telephone Cooperative","spe010":"Spencer Municipal Utilities","spl010":"Alliance Communications","srt010":"SRT","stc020":"Innovative Cable TV St Croix","sul015":"Venture Communications Cooperative, Inc.","sum010":"Sumner Cable TV","sweetwater":"Sweetwater Cable Television Co","tcc":"Tri County Communications Cooperative","tct":"TCT West, Inc.","tds_auth-gateway_net":"TDS","tel095":"Beaver Creek Cooperative Telephone","tel160-csp":"C Spire","tel160-del":"Delta Telephone Company","tel160-fra":"Franklin Telephone Company","telus_auth-gateway_net":"Telus","tro010":"Troy Cablevision, Inc.","tsc":"TSC","tvtinc":"Twin Valley","uss020":"US Sonet","ver025":"Vernon Communications","vis070":"Vision Communications","volcanotel":"Volcano Vision, Inc.","wadsworth":"CityLink","waitsfield":"Waitsfield Cable","wal010":"Walnut Communications","war040":"Citizens Telephone Corporation","wavebroadband":"Wave Broadband","wct010":"West Central Telephone Association","wcta":"Winnebago Cooperative Telecom Association","weh010-camtel":"Cam-Tel Company","weh010-east":"East Arkansas Cable TV","weh010-hope":"Hope - Prescott Cable TV","weh010-longview":"Longview - Kilgore Cable TV","weh010-pine":"Pine Bluff Cable TV","weh010-resort":"Resort TV Cable","weh010-talequah":"Tahlequah Cable TV","weh010-vicksburg":"Vicksburg Video","weh010-white":"White County Cable TV","wes110":"West River Cooperative Telephone Company","westianet":"Western Iowa Networks","win090":"Windstream","wtc010":"WTC","www_websso_mybrctv_com":"Blue Ridge Communications","zzElasticSSOIframe":"Fox Networks Guest"}

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
63.13 ms | 421 KiB | 8 Q