$cars = "bmw","audi","volvo","vw"
echo $cars.length
returns 4, but
$cars = "bmw"
returns 3 because it counts the characters..
Is there a way I can return 1 if the array only contains one item?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…