note 19844 deleted from language.types.boolean by goba

From: Date: Mon, 04 Nov 2002 12:56:00 +0000
Subject: note 19844 deleted from language.types.boolean by goba
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38951@lists.php.net to get a copy of this message
glenn.hoeppner: true is a constant. true = 1. So, if you do "if ($val == true)" you'll still execute the if when $val=1. (it's just redundant). S

« previous php.notes (#38951) next »