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

Reply via email to