Couldn't the string representation of FALSE be "0"
, just like TRUE is juggled to "1"
?
A boolean TRUE value is converted to the string "1". Boolean FALSE is converted to "" (the empty string). This allows conversion back and forth between boolean and string values.
What do they mean by "allows conversion back and forth between boolean and string values".
So TRUE
does not allow that ?
CAn you explain that and give some examples please ?
NOTE: I Know there are other related questions, but none of them provided what i'm precisely looking for!! So don't bother copying a link!!