RE: Why doesn't php have a 'date' variable type?

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

 



php isn't typeless. It has types of int, string, array, object etc. Refer to the GetType() builtin function for more info.

It can be easy to think of it as typeless because, at any time you deem appropriate, you can change the type of a variable simply by assigning a new value to it of a different type.

At 07:38 PM 20/05/2004, you wrote:
> Why doesn't php offer a standard class or variable
> type to help process dates in a standard manner?

Maybe because PHP is typeless(?).

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


. Ross Honniball                  JCU Bookshop Cairns Supervisor
. James Cook Uni, McGreggor Rd, Smithfield, Qld. 4878, Australia
. Ph:07.4042.1157  Fx:07.4042.1158   Em:ross@xxxxxxxxxxxxxxxxxxx
. There are no problems. Only solutions.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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

  Powered by Linux