#i++:先赋值再运算 i=1; let x=i++; echo "x=$x" echo "i=$i" #++j先运算再赋值 j=2; let x=++j; echo "x=$x"; echo "j=$j";