What does the variable actually contain?
I have no idea why these scripts echo "ex" instead of "zero". Seems straight forward but it's got me stumped. Any ideas?
I would expect to see:
But instead, it shows:
I would expect it to echo "zero", but it echos "ex"
Any ideas why this is? Incidentally, it doesn't matter what string I use (or even if I use $ws==0), it consistently displays "ex".
I appreciate any ideas.