note 109056 deleted from language.types.boolean by danbrown

From: Date: Sun, 17 Jun 2012 14:30:43 +0000
Subject: note 109056 deleted from language.types.boolean by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188652@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- @mobil.boty 08-Jul-2010 02:33 That's because you used a undefined constant and PHP phraser assumed that is an string. It's value will be 'FASE' and converting every non-empty string to boolean gives true.

« previous php.notes (#188652) next »