RE: [PHP-WIN] Why doesn't php have a 'date' variable type?
| From: | Ross Honniball | Date: | Thu, 20 May 2004 23:57:26 +0000 |
| Subject: | RE: [PHP-WIN] Why doesn't php have a 'date' variable type? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23785@lists.php.net to get a copy of this message | ||
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@bookshop.jcu.edu.au . There are no problems. Only solutions.