On Fri, 5 Dec 2008, Jochem Maas wrote:

> vrijdag, 05 december 2008
> Fri, December 2008
> 
> having to use <?php (int)$d->format("U") ?> seems wrong, having
> something like <?php $d->getTimeStamp() ?> would seem better.
> 
> Am I missing something? or is there actually a limitation in DateTime
> that should/will be addressed at some time in the future? personally
> I just looking to understand ... here's hoping you may be able to
> shed some light on the matter.

get/setTimestamp have been added in PHP 5.3.

regards,
Derick

-- 
HEAD before 5_3!: http://tinyurl.com/6d2esb
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to