3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr['41Media'] = '41Media'; $arr['AMComputing'] = 'AMComputing'; $arr['ActiveLabs'] = 'ActiveLabs'; $arr['ActiveLabslist'] = 'ActiveLabslist'; $arr['AdBoomGroup'] = 'AdBoomGroup'; $arr['AlphaPhoenix'] = 'AlphaPhoenix'; $arr['BigAttack'] = 'BigAttack'; $arr['Biocura'] = 'Biocura'; $arr['BrandDevelopment'] = 'BrandDevelopment'; $arr['BunzaiMedia'] = 'BunzaiMedia'; $arr['CHB'] = 'CHB'; $arr['ChelseaMarketing'] = 'ChelseaMarketing'; $arr['CommonhealthCanada'] = 'CommonhealthCanada'; $arr['JJRMEdia'] = 'JJRMEdia'; $arr['JJRMedia'] = 'JJRMedia'; $arr['K2Click'] = 'K2Click'; $arr['LevelOne'] = 'LevelOne'; $arr['LionsBay'] = 'LionsBay'; $arr['MI6'] = 'MI6'; $arr['MethodDirect'] = 'MethodDirect'; $arr['NetConnect'] = 'NetConnect'; $arr['NetConnectMedia'] = 'NetConnectMedia'; $arr['NetMarkets'] = 'NetMarkets'; $arr['NorwichEnterprises'] = 'NorwichEnterprises'; $arr['NuAge'] = 'NuAge'; $arr['NutratoryLabs'] = 'NutratoryLabs'; $arr['OptimalHealth'] = 'OptimalHealth'; $arr['PremierHealth'] = 'PremierHealth'; $arr['PrimaLiteNutrition'] = 'PrimaLiteNutrition'; $arr['RevolutionLaboratories'] = 'RevolutionLaboratories'; $arr['SNDHoldings'] = 'SNDHoldings'; $arr['SkyWay'] = 'SkyWay'; $arr['SnapProducts'] = 'SnapProducts'; $arr['SnapsProducts'] = 'SnapsProducts'; $arr['StreamlinedDriftwood'] = 'StreamlinedDriftwood'; $arr['Syntratech'] = 'Syntratech'; $arr['TransformationMarketing'] = 'TransformationMarketing'; $arr['TriangleMedia'] = 'TriangleMedia'; $arr['TrueBeautyMedia'] = 'TrueBeautyMedia'; $arr['TrueFitnessMedia'] = 'TrueFitnessMedia'; $arr['Upsurge'] = 'Upsurge'; $arr['VREV'] = 'VREV'; $arr['Vurj'] = 'Vurj'; $arr['Vydox'] = 'Vydox'; $arr['WDDL'] = 'WDDL'; $arr['Xtreme'] = 'Xtreme'; $arr['convertis'] = 'convertis'; $arr['ePlanet'] = 'ePlanet'; $arr['tcompanybrandcampaigns'] = 'tcompanybrandcampaigns'; //sort($arr, SORT_STRING | SORT_FLAG_CASE); uksort($arr, 'strcasecmp'); var_dump($arr);
Output for 7.0.0 - 7.1.0
array(49) { ["41Media"]=> string(7) "41Media" ["ActiveLabs"]=> string(10) "ActiveLabs" ["ActiveLabslist"]=> string(14) "ActiveLabslist" ["AdBoomGroup"]=> string(11) "AdBoomGroup" ["AlphaPhoenix"]=> string(12) "AlphaPhoenix" ["AMComputing"]=> string(11) "AMComputing" ["BigAttack"]=> string(9) "BigAttack" ["Biocura"]=> string(7) "Biocura" ["BrandDevelopment"]=> string(16) "BrandDevelopment" ["BunzaiMedia"]=> string(11) "BunzaiMedia" ["CHB"]=> string(3) "CHB" ["ChelseaMarketing"]=> string(16) "ChelseaMarketing" ["CommonhealthCanada"]=> string(18) "CommonhealthCanada" ["convertis"]=> string(9) "convertis" ["ePlanet"]=> string(7) "ePlanet" ["JJRMEdia"]=> string(8) "JJRMEdia" ["JJRMedia"]=> string(8) "JJRMedia" ["K2Click"]=> string(7) "K2Click" ["LevelOne"]=> string(8) "LevelOne" ["LionsBay"]=> string(8) "LionsBay" ["MethodDirect"]=> string(12) "MethodDirect" ["MI6"]=> string(3) "MI6" ["NetConnect"]=> string(10) "NetConnect" ["NetConnectMedia"]=> string(15) "NetConnectMedia" ["NetMarkets"]=> string(10) "NetMarkets" ["NorwichEnterprises"]=> string(18) "NorwichEnterprises" ["NuAge"]=> string(5) "NuAge" ["NutratoryLabs"]=> string(13) "NutratoryLabs" ["OptimalHealth"]=> string(13) "OptimalHealth" ["PremierHealth"]=> string(13) "PremierHealth" ["PrimaLiteNutrition"]=> string(18) "PrimaLiteNutrition" ["RevolutionLaboratories"]=> string(22) "RevolutionLaboratories" ["SkyWay"]=> string(6) "SkyWay" ["SnapProducts"]=> string(12) "SnapProducts" ["SnapsProducts"]=> string(13) "SnapsProducts" ["SNDHoldings"]=> string(11) "SNDHoldings" ["StreamlinedDriftwood"]=> string(20) "StreamlinedDriftwood" ["Syntratech"]=> string(10) "Syntratech" ["tcompanybrandcampaigns"]=> string(22) "tcompanybrandcampaigns" ["TransformationMarketing"]=> string(23) "TransformationMarketing" ["TriangleMedia"]=> string(13) "TriangleMedia" ["TrueBeautyMedia"]=> string(15) "TrueBeautyMedia" ["TrueFitnessMedia"]=> string(16) "TrueFitnessMedia" ["Upsurge"]=> string(7) "Upsurge" ["VREV"]=> string(4) "VREV" ["Vurj"]=> string(4) "Vurj" ["Vydox"]=> string(5) "Vydox" ["WDDL"]=> string(4) "WDDL" ["Xtreme"]=> string(6) "Xtreme" }
Output for 4.3.0 - 5.6.28
array(49) { ["41Media"]=> string(7) "41Media" ["ActiveLabs"]=> string(10) "ActiveLabs" ["ActiveLabslist"]=> string(14) "ActiveLabslist" ["AdBoomGroup"]=> string(11) "AdBoomGroup" ["AlphaPhoenix"]=> string(12) "AlphaPhoenix" ["AMComputing"]=> string(11) "AMComputing" ["BigAttack"]=> string(9) "BigAttack" ["Biocura"]=> string(7) "Biocura" ["BrandDevelopment"]=> string(16) "BrandDevelopment" ["BunzaiMedia"]=> string(11) "BunzaiMedia" ["CHB"]=> string(3) "CHB" ["ChelseaMarketing"]=> string(16) "ChelseaMarketing" ["CommonhealthCanada"]=> string(18) "CommonhealthCanada" ["convertis"]=> string(9) "convertis" ["ePlanet"]=> string(7) "ePlanet" ["JJRMedia"]=> string(8) "JJRMedia" ["JJRMEdia"]=> string(8) "JJRMEdia" ["K2Click"]=> string(7) "K2Click" ["LevelOne"]=> string(8) "LevelOne" ["LionsBay"]=> string(8) "LionsBay" ["MethodDirect"]=> string(12) "MethodDirect" ["MI6"]=> string(3) "MI6" ["NetConnect"]=> string(10) "NetConnect" ["NetConnectMedia"]=> string(15) "NetConnectMedia" ["NetMarkets"]=> string(10) "NetMarkets" ["NorwichEnterprises"]=> string(18) "NorwichEnterprises" ["NuAge"]=> string(5) "NuAge" ["NutratoryLabs"]=> string(13) "NutratoryLabs" ["OptimalHealth"]=> string(13) "OptimalHealth" ["PremierHealth"]=> string(13) "PremierHealth" ["PrimaLiteNutrition"]=> string(18) "PrimaLiteNutrition" ["RevolutionLaboratories"]=> string(22) "RevolutionLaboratories" ["SkyWay"]=> string(6) "SkyWay" ["SnapProducts"]=> string(12) "SnapProducts" ["SnapsProducts"]=> string(13) "SnapsProducts" ["SNDHoldings"]=> string(11) "SNDHoldings" ["StreamlinedDriftwood"]=> string(20) "StreamlinedDriftwood" ["Syntratech"]=> string(10) "Syntratech" ["tcompanybrandcampaigns"]=> string(22) "tcompanybrandcampaigns" ["TransformationMarketing"]=> string(23) "TransformationMarketing" ["TriangleMedia"]=> string(13) "TriangleMedia" ["TrueBeautyMedia"]=> string(15) "TrueBeautyMedia" ["TrueFitnessMedia"]=> string(16) "TrueFitnessMedia" ["Upsurge"]=> string(7) "Upsurge" ["VREV"]=> string(4) "VREV" ["Vurj"]=> string(4) "Vurj" ["Vydox"]=> string(5) "Vydox" ["WDDL"]=> string(4) "WDDL" ["Xtreme"]=> string(6) "Xtreme" }