On Jul 7, 2005, at 7:56 PM, Andi Gutmans wrote:
It would look the following:
$timeZone->getName();
vs.
date_timezone_get($date);
$date->getOffset();
vs.
date_offset_get($date);
Personally, unrelated to OO I think it's a nicer and cleaner way of
exposing such an API. It would also make it easier for some of the
other new extensions like SimpleXML, SOAP, PDO , etc. to take
advantage of it when exposing data types.
I think this should be seriously considered. I'll be happy to work
with you on this if it makes sense to you and others.
+1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php