Why is the $todaydatestring data type displayed as boolean?

From: Date: Thu, 11 Sep 2008 13:18:20 +0000
Subject: Why is the $todaydatestring data type displayed as boolean?
Groups: php.windows 
Request: Send a blank email to php-windows+get-29026@lists.php.net to get a copy of this message
Why is the $todaydatestring data type displayed as boolean? <?php $todaydate=11092008; echo "The data type of todaydate is ".gettype($todaydate)."</br>"; $mydatestring=settype($todaydate,"String"); echo "The data type of mydatestring is ".gettype($mydatestring); ?> Varuna -- Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141

« previous php.windows (#29026) next »