You're viewing a comment by dexter and its responses.

dexter Permalink
December 15, 2009, 12:02

I use bang-bang operator:

$bool = !! 1;

It converts value to boolean. It is similar to venus operator:

$num = 0+ "42";

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "apple_173": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.