Help for this page
A scalar value is interpreted as TRUE in the Boolean sense if i
+t is not
the null string or the number 0 (or its string equivalent, "0")
Boolean context is just a special kind of scalar context where
conversion to a string or a number is ever performed.
Truth and Falsehood
Negation of a true value by "!" or "not" returns a special fals
When evaluated as a string it is treated as '', but as a number
+, it is
treated as 0.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (433 votes). Check out past polls.