"My truth comes out" [1]

From: Date: Thu, 21 Oct 2010 09:39:25 +0000
Subject: "My truth comes out" [1]
Groups: php.general 
Request: Send a blank email to php-general+get-308913@lists.php.net to get a copy of this message
Is there any nice way to convert a string containing either "TRUE" or "FALSE" to a bool with the appropriate value? I know I can just "if (strcmp..." but, as the song goes on to say "...ugly, so ugly, it's ugly"[1] Footnotes: [1] "Mask", Henry Rollins -- Gary

« previous php.general (#308913) next »