3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $phpfile = ""; $phpfile .= <<<PHP } \$activeLinks['byregion_1'] = "/".\$itemType."/Abitibi-Temiscamingue-listing.html"; \$activeLinks['byregion_2'] = "/".\$itemType."/Bas-Saint-Laurent-listing.html"; \$activeLinks['byregion_3'] = "/".\$itemType."/Centre-du-Quebec-listing.html"; \$activeLinks['byregion_4'] = "/".\$itemType."/Chaudiere-Appalaches-listing.html"; \$activeLinks['byregion_5'] = "/".\$itemType."/Estrie-listing.html"; \$activeLinks['byregion_6'] = "/".\$itemType."/Gaspesie-Iles-de-la-Madelaine-listing.html"; \$activeLinks['byregion_7'] = "/".\$itemType."/Lanaudiere-listing.html"; \$activeLinks['byregion_8'] = "/".\$itemType."/Laurentides-listing.html"; \$activeLinks['byregion_9'] = "/".\$itemType."/Laval-listing.html"; \$activeLinks['byregion_10'] = "/".\$itemType."/Mauricie-listing.html"; \$activeLinks['byregion_11'] = "/".\$itemType."/Monteregie-listing.html"; \$activeLinks['byregion_12'] = "/".\$itemType."/Montreal-listing.html"; \$activeLinks['byregion_13'] = "/".\$itemType."/Nord-du-Quebec-listing.html"; \$activeLinks['byregion_14'] = "/".\$itemType."/Outaouais-listing.html"; \$activeLinks['byregion_15'] = "/".\$itemType."/Quebec-listing.html"; \$activeLinks['byregion_16'] = "/".\$itemType."/Saguenay-Lac-St-Jean-listing.html"; } return \$activeLinks; } } \?\> PHP; echo $phpfile;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
} $activeLinks['byregion_1'] = "/".$itemType."/Abitibi-Temiscamingue-listing.html"; $activeLinks['byregion_2'] = "/".$itemType."/Bas-Saint-Laurent-listing.html"; $activeLinks['byregion_3'] = "/".$itemType."/Centre-du-Quebec-listing.html"; $activeLinks['byregion_4'] = "/".$itemType."/Chaudiere-Appalaches-listing.html"; $activeLinks['byregion_5'] = "/".$itemType."/Estrie-listing.html"; $activeLinks['byregion_6'] = "/".$itemType."/Gaspesie-Iles-de-la-Madelaine-listing.html"; $activeLinks['byregion_7'] = "/".$itemType."/Lanaudiere-listing.html"; $activeLinks['byregion_8'] = "/".$itemType."/Laurentides-listing.html"; $activeLinks['byregion_9'] = "/".$itemType."/Laval-listing.html"; $activeLinks['byregion_10'] = "/".$itemType."/Mauricie-listing.html"; $activeLinks['byregion_11'] = "/".$itemType."/Monteregie-listing.html"; $activeLinks['byregion_12'] = "/".$itemType."/Montreal-listing.html"; $activeLinks['byregion_13'] = "/".$itemType."/Nord-du-Quebec-listing.html"; $activeLinks['byregion_14'] = "/".$itemType."/Outaouais-listing.html"; $activeLinks['byregion_15'] = "/".$itemType."/Quebec-listing.html"; $activeLinks['byregion_16'] = "/".$itemType."/Saguenay-Lac-St-Jean-listing.html"; } return $activeLinks; } } \?\>