run code in 200+ php & hhvm versions
Bugs & Features
<?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); var_dump($matches['value']);
Output for 4.4.6 - 4.4.9, 5.2.2 - 7.1.10
array(249) { [0]=> string(29) "Advanced Cable Communications" [1]=> string(25) "Antietam Cable Television" [2]=> string(4) "ATMC" [3]=> string(12) "AT&T U-verse" [4]=> string(19) "Buckeye CableSystem" [5]=> string(11) "BVU Optinet" [6]=> string(24) "Cincinnati Bell Fioptics" [7]=> string(26) "Clear Creek Communications" [8]=> string(7) "Optimum" [9]=> string(15) "Comcast XFINITY" [10]=> string(18) "FNG Employee/Guest" [11]=> string(23) "Frontier Communications" [12]=> string(16) "Greenlight Cable" [13]=> string(14) "Docomo Pacific" [14]=> string(3) "HBC" [15]=> string(24) "Jackson Energy Authority" [16]=> string(13) "MI-Connection" [17]=> string(7) "Orbitel" [18]=> string(10) "Suddenlink" [19]=> string(4) "WOW!" [20]=> string(18) "ACE Communications" [21]=> string(19) "Acme Communications" [22]=> string(26) "Algona Municipal Utilities" [23]=> string(19) "ALLO Communications" [24]=> string(23) "All West Communications" [25]=> string(21) "Alpine Communications" [26]=> string(11) "Broadstripe" [27]=> string(22) "Arkwest Communications" [28]=> string(5) "Arvig" [29]=> string(7) "Astound" [30]=> string(9) "Armstrong" [31]=> string(18) "Atlantic Broadband" [32]=> string(9) "Cable ONE" [33]=> string(17) "CenturyLink Prism" [34]=> string(15) "Hawaiian Telcom" [35]=> string(9) "MetroCast" [36]=> string(38) "SureWest (Consolidated Communications)" [37]=> string(8) "TruVista" [38]=> string(21) "Baldwin Telecom, Inc." [39]=> string(24) "Bay Creek Communications" [40]=> string(14) "Vyve Broadband" [41]=> string(29) "Limestone Cable/Bracken Cable" [42]=> string(4) "BELD" [43]=> string(18) "BTC Communications" [44]=> string(18) "Burlington Telecom" [45]=> string(28) "Butler-Bremer Communications" [46]=> string(18) "USA Communications" [47]=> string(19) "Cable TV of Stanton" [48]=> string(12) "CableAmerica" [49]=> string(23) "Pinpoint Communications" [50]=> string(12) "Canby Telcom" [51]=> string(14) "Carnegie Cable" [52]=> string(37) "Innovative Cable TV St Thomas-St John" [53]=> string(28) "West Carolina Communications" [54]=> string(9) "CAS Cable" [55]=> string(8) "CASSCOMM" [56]=> string(9) "Comporium" [57]=> string(17) "CC Communications" [58]=> string(9) "CentraCom" [59]=> string(21) "Cedar Falls Utilities" [60]=> string(16) "NineStar Connect" [61]=> string(19) "Cim-Tel Cable, LLC." [62]=> string(16) "Citizens Telecom" [63]=> string(32) "Citizens Cablevision - Floyd, VA" [64]=> string(26) "Citizens Cablevision, Inc." [65]=> string(25) "Tullahoma Utilities Board" [66]=> string(43) "Clarence Telephone and Cedar Communications" [67]=> string(15) "Click! Cable TV" [68]=> string(20) "Giant Communications" [69]=> string(37) "CML Telephone Cooperative Association" [70]=> string(3) "CNS" [71]=> string(20) "The Community Agency" [72]=> string(14) "Access Montana" [73]=> string(27) "Consolidated Communications" [74]=> string(12) "Consolidated" [75]=> string(18) "Conway Corporation" [76]=> string(10) "Zito Media" [77]=> string(30) "Crestview Cable Communications" [78]=> string(24) "Crosslake Communications" [79]=> string(8) "Cross TV" [80]=> string(10) "CapRock Tv" [81]=> string(19) "Cable Services Inc." [82]=> string(17) "CTC - Brainerd MN" [83]=> string(17) "CT Communications" [84]=> string(30) "Cunningham Telephone and Cable" [85]=> string(33) "Dakota Central Telecommunications" [86]=> string(8) "OptiLink" [87]=> string(29) "Celect-Bloomer Telephone Area" [88]=> string(27) "Celect-Bruce Telephone Area" [89]=> string(30) "Celect-Citizens Connected Area" [90]=> string(33) "Celect-Elmwood/Spring Valley Area" [91]=> string(29) "Celect-West WI Telephone Area" [92]=> string(13) "ATC Broadband" [93]=> string(21) "Chippewa Valley Cable" [94]=> string(28) "Nelson Telephone Cooperative" [95]=> string(20) "Eagle Communications" [96]=> string(16) "EATEL Video, LLC" [97]=> string(22) "Emery Telcom Video LLC" [98]=> string(23) "Endeavor Communications" [99]=> string(16) "EPB Fiber Optics" [100]=> string(20) "FandB Communications" [101]=> string(21) "Frankfort Plant Board" [102]=> string(23) "Fidelity Communications" [103]=> string(26) "Flint River Communications" [104]=> string(21) "FiOS TV from Frontier" [105]=> string(18) "Full Channel, Inc." [106]=> string(24) "GBT Communications, Inc." [107]=> string(3) "GCI" [108]=> string(11) "Glasgow EPB" [109]=> string(27) "Glenwood Telecommunications" [110]=> string(23) "Golden West Cablevision" [111]=> string(12) "Google Fiber" [112]=> string(27) "Great Plains Communications" [113]=> string(18) "GLW Broadband Inc." [114]=> string(3) "GTA" [115]=> string(4) "GVTC" [116]=> string(26) "Harlan Municipal Utilities" [117]=> string(19) "Hart Communications" [118]=> string(7) "Hargray" [119]=> string(40) "Heart of Iowa Communications Cooperative" [120]=> string(29) "Enventis formerly HickoryTech" [121]=> string(27) "HomeTel Entertainment, Inc." [122]=> string(12) "Home Telecom" [123]=> string(15) "Home Town Cable" [124]=> string(25) "Hood Canal Communications" [125]=> string(22) "Horizon Cable TV, Inc." [126]=> string(22) "Hotwire Communications" [127]=> string(25) "Hickory Telephone Company" [128]=> string(29) "HTC Communications, Inc. - IA" [129]=> string(18) "American Broadband" [130]=> string(20) "Inside Connect Cable" [131]=> string(19) "ImOn Communications" [132]=> string(34) "Interstate Telecommunications Coop" [133]=> string(36) "Kalona Cooperative Telephone Company" [134]=> string(9) "KMTelecom" [135]=> string(7) "KNOLOGY" [136]=> string(22) "KPU Telecommunications" [137]=> string(25) "Kuhn Communications, Inc." [138]=> string(42) "Laurel Highland Total Communications, Inc." [139]=> string(10) "Litestream" [140]=> string(32) "Lost Nation-Elwood Telephone Co." [141]=> string(23) "LocalTel Communications" [142]=> string(10) "Long Lines" [143]=> string(14) "Lumos Networks" [144]=> string(22) "Madison Communications" [145]=> string(4) "MTCC" [146]=> string(35) "Peoples Rural Telephone Cooperative" [147]=> string(4) "MCTV" [148]=> string(28) "Merrimac Communications Ltd." [149]=> string(8) "Metronet" [150]=> string(4) "MHTC" [151]=> string(7) "enTouch" [152]=> string(23) "Midstate Communications" [153]=> string(16) "Mid-Hudson Cable" [154]=> string(25) "Mid-Rivers Communications" [155]=> string(22) "Milford Communications" [156]=> string(16) "Morris Broadband" [157]=> string(25) "Muscatine Power and Water" [158]=> string(27) "Midcontinent Communications" [159]=> string(23) "MTA Communications, LLC" [160]=> string(12) "MUS FiberNET" [161]=> string(35) "Reinbeck Telecommunications Utility" [162]=> string(30) "Nebraska Central Telecom, Inc." [163]=> string(18) "Nsight Telservices" [164]=> string(10) "NU-Telecom" [165]=> string(8) "Nex-Tech" [166]=> string(7) "NKTelco" [167]=> string(24) "Northland Communications" [168]=> string(23) "Norwood Light Broadband" [169]=> string(35) "North Central Telephone Cooperative" [170]=> string(4) "NICP" [171]=> string(21) "Nortex Communications" [172]=> string(16) "Ashland Home Net" [173]=> string(15) "Whidbey Telecom" [174]=> string(6) "NuLink" [175]=> string(22) "NewWave Communications" [176]=> string(24) "OneSource Communications" [177]=> string(8) "OpenBand" [178]=> string(26) "OTEC Communication Company" [179]=> string(43) "Park Region Telephone and Otter Tail Telcom" [180]=> string(17) "PAC12 Enterprises" [181]=> string(26) "Paul Bunyan Communications" [182]=> string(26) "Pembroke Telephone Company" [183]=> string(24) "Cable TV of East Alabama" [184]=> string(16) "Phonoscope Cable" [185]=> string(16) "Surry TV/PCSI TV" [186]=> string(22) "Pioneer Communications" [187]=> string(11) "Pioneer DTV" [188]=> string(26) "Pottawatomie Telephone Co." [189]=> string(22) "Premier Communications" [190]=> string(15) "Rainier Connect" [191]=> string(28) "Reedsburg Utility Commission" [192]=> string(26) "RMA Broadband and Cable TV" [193]=> string(21) "Rock Port Cablevision" [194]=> string(22) "RTC Communication Corp" [195]=> string(5) "SELCO" [196]=> string(44) "Service Electric Cable TV and Communications" [197]=> string(26) "Service Electric Broadband" [198]=> string(28) "Service Electric Cablevision" [199]=> string(34) "USA Communications- Shellsburg, IA" [200]=> string(7) "Shentel" [201]=> string(14) "Sjoberg's Inc." [202]=> string(10) "SkyBest TV" [203]=> string(38) "South Slope Cooperative Communications" [204]=> string(41) "South Central Rural Telephone Cooperative" [205]=> string(27) "Spencer Municipal Utilities" [206]=> string(23) "Alliance Communications" [207]=> string(3) "SRT" [208]=> string(28) "Innovative Cable TV St Croix" [209]=> string(40) "Venture Communications Cooperative, Inc." [210]=> string(15) "Sumner Cable TV" [211]=> string(30) "Sweetwater Cable Television Co" [212]=> string(37) "Tri County Communications Cooperative" [213]=> string(14) "TCT West, Inc." [214]=> string(3) "TDS" [215]=> string(34) "Beaver Creek Cooperative Telephone" [216]=> string(7) "C Spire" [217]=> string(23) "Delta Telephone Company" [218]=> string(26) "Franklin Telephone Company" [219]=> string(5) "Telus" [220]=> string(22) "Troy Cablevision, Inc." [221]=> string(3) "TSC" [222]=> string(11) "Twin Valley" [223]=> string(8) "US Sonet" [224]=> string(21) "Vernon Communications" [225]=> string(21) "Vision Communications" [226]=> string(20) "Volcano Vision, Inc." [227]=> string(8) "CityLink" [228]=> string(16) "Waitsfield Cable" [229]=> string(21) "Walnut Communications" [230]=> string(30) "Citizens Telephone Corporation" [231]=> string(14) "Wave Broadband" [232]=> string(34) "West Central Telephone Association" [233]=> string(41) "Winnebago Cooperative Telecom Association" [234]=> string(15) "Cam-Tel Company" [235]=> string(22) "East Arkansas Cable TV" [236]=> string(24) "Hope - Prescott Cable TV" [237]=> string(27) "Longview - Kilgore Cable TV" [238]=> string(19) "Pine Bluff Cable TV" [239]=> string(15) "Resort TV Cable" [240]=> string(18) "Tahlequah Cable TV" [241]=> string(15) "Vicksburg Video" [242]=> string(21) "White County Cable TV" [243]=> string(40) "West River Cooperative Telephone Company" [244]=> string(21) "Western Iowa Networks" [245]=> string(10) "Windstream" [246]=> string(3) "WTC" [247]=> string(25) "Blue Ridge Communications" [248]=> string(18) "Fox Networks Guest" }
Output for 5.2.0 - 5.2.1
Warning: preg_match_all(): Compilation failed: unrecognized character after (?< at offset 4 in /in/tBnIK on line 255 NULL
Output for 4.3.11 - 4.4.5, 5.0.0 - 5.1.6
Warning: preg_match_all(): Compilation failed: unrecognized character after (?< at offset 4 in /in/tBnIK on line 255 Notice: Undefined index: value in /in/tBnIK on line 256 NULL
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: unrecognized character after (?< at offset 4 in /in/tBnIK on line 255 Notice: Undefined index: value in /in/tBnIK on line 256 NULL