Re: [PHP-DEV] Object and Array Literals

2011-06-18 Thread Paul Dragoonis
On Sun, Jun 19, 2011 at 3:56 AM, Daniel Convissor wrote: > Hi: > > I wasn't keen on earlier proposals for the [] array syntax.  Sean, your > case is laid out in a clear manner and addresses my concerns.  I like > this RFC. > > >>       * Strictness of unquoted keys. > > Keys should be quoted.  At

Re: [PHP-DEV] Object and Array Literals

2011-06-18 Thread Daniel Convissor
Hi: I wasn't keen on earlier proposals for the [] array syntax. Sean, your case is laid out in a clear manner and addresses my concerns. I like this RFC. > * Strictness of unquoted keys. Keys should be quoted. At the very least, unquoted keys should raise an E_NOTICE. > * Suppo

Re: [PHP-DEV] date_diff broken?

2011-06-18 Thread Derick Rethans
On Fri, 17 Jun 2011, Stas Malyshev wrote: > Hi! > > > Does it mean that all the tests Daniel added should work now? > > http://news.php.net/php.cvs/65174 > > Looks like ts->date conversion is broken on TLA timezones. Try: > > $t = new DateTime('2010-11-06 18:38:28 EDT'); // prev, zt2 > $ts