Why is the $todaydatestring data type displayed as boolean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux