3v4l.org

run code in 300+ PHP versions simultaneously
<?php $categoryMap = array("ARCH" => "Architects (Degreed & Licensed - Active & Retired)", "ARCHPROF" => "Architectural Professionals (Degreed)", "ENG" => "Engineers (Degreed & Licensed - Active & Retired)", "ENGPROF" => "Engineering Professionals (Degreed)", "NON-US" => "Non-U.S. Architects and Engineers & Architectural and Engineering Professionals", "XMISC" => "Other Supporters and A&E Students"); $occupationMap = array("L" => "Degreed & Licensed", "U" => "Degreed", "S" => "Student", "O" => "Other"); echo $categoryMap["ARCH"]; echo $occupationMap["O"]
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/apa0u on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/apa0u on line 10
Process exited with code 255.

preferences:
185.12 ms | 1395 KiB | 53 Q