<?php $a = “01”; $result = 1; if(in_array($a,array(“1”))){ $result = 2; }else if($a == “1”){ $result = 3; }else if($a == 点我阅读全文