3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ceu = array( "Italy"=>"Rome", "Luxembourg"=>"Luxembourg", "Belgium"=> "Brussels", "Denmark"=>"Copenhagen", "Finland"=>"Helsinki", "France" => "Paris", "Slovakia"=>"Bratislava", "Slovenia"=>"Ljubljana", "Germany" => "Berlin", "Greece" => "Athens", "Ireland"=>"Dublin", "Netherlands"=>"Amsterdam", "Portugal"=>"Lisbon", "Spain"=>"Madrid", "Sweden"=>"Stockholm", "United Kingdom"=>"London", "Cyprus"=>"Nicosia", "Lithuania"=>"Vilnius", "Czech Republic"=>"Prague", "Estonia"=>"Tallin", "Hungary"=>"Budapest", "Latvia"=>"Riga", "Malta"=>"Valetta", "Austria" => "Vienna", "Poland"=>"Warsaw") ; echo $ceu[Italy]."\n"; ?>
based on sa6rl
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant Italy - assumed 'Italy' (this will throw an Error in a future version of PHP) in /in/V332E on line 4 Rome
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant Italy - assumed 'Italy' in /in/V332E on line 4 Rome