3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $iss = (object) array( "team" => array( "S0A" => "영업1팀", "영업1팀" => "S0A", "S0B" => "영업2팀", "영업2팀" => "S0B", "S0C" => "영업3팀", "영업3팀" => "S0C", "S03" => "인터넷팀", "인터넷팀" => "S03", "S04" => "관리팀", "관리팀" => "S04" ), "place" => array( "0" => "일반", "1" => "1지부", "2" => "2지부", "3" => "3지부", "5" => "5지부", "6" => "6지부", "7" => "7지부", "8" => "8지부", "9" => "검사소", "A" => "용달", "B" => "개별", "C" => "서용", "O" => "외곽" ), "sawon" => array( "001" => "허정미", "002" => "김경숙", "003" => "장현아", "004" => "이동훈", "005" => "김화선", "006" => "최수미", "007" => "김민희", "008" => "고미경", "009" => "차선옥", "010" => "이유미", "011" => "김진", "012" => "박은주", "013" => "이선경", "014"=> "조벼란", "015"=> "박현영", "016"=> "이주경", "017"=> "김순단", "018"=> "박경희", "019"=> "이난영", "020"=> "박정미", "021"=> "한용화", "022"=> "노윤주", "023"=> "강승원", "024"=> "김용란", "025"=> "김상수", "026" => "신경란", "027" => "서효선", "028" => "고경희", "029" => "박미영", "030" => "홍진성", "031" => "정혜선", "032" => "윤승덕", "033" => "김오성", "034" => "박상배", "035" => "김재선", "036" => "이은경", "037" => "고희환", "038" => "한선용", "039" => "설유라", "040" => "최연희", "041" => "윤민웅", "042" => "이재용", "043" => "유상미", "044" => "이소연", "048" => "송인숙", "049" => "변상경", "050" => "김영미", "051" => "신정아", "052" => "박영희", "053" => "이서은", "054" => "김현정", "055" => "박영서", "056" >= "박문", "057" => "이지영", "058" => "황정희", "059" => "정보경", "060" => "박경진", "061" => "이경숙", "062" => "강희정", "064" => "신순희", "065" => "이달호", "066" => "이진성", "068" => "전승희", "069" => "공충길", "074" => "김보미", "075" => "장정진", "076" => "최정숙", "077" => "조민희", "078" => "한현석", "079" => "거마카", "080" => "오상영", "081" => "김태희", "082" => "나수연", "083" => "임소연", "084" => "손지윤", "085" => "윤찬미", "086" => "심민옥", "087" => "이정미", "088" => "박현진", "089" => "송준영", "094" => "박지현" ) ); function iss_team($code) { return $iss->team[$code]; } function iss_place($code) { if (isset($iss->place[$code])) { return $iss->place[$code]; } else { return $code; } } function iss_sawon($code) { if (isset($iss->sawon[$code])) { return $iss->sawon[$code]; } else { return $code; } } echo $iss->place["0"]; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
일반