var a = 1; var b = 'b'; var c = date('2014-10-05','yyyy-MM-dd'); if(a==1){ return 3+2; }else{ return 4+2; }