Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2018-03-30 Thread Rowan Collins
Hi all, I thought people might be amused to hear that, almost exactly 8 years after it was proposed, this very reasonable decision caused a lot of head-scratching yesterday: From:   Stanislav Malyshev Date:   2010-04-03 1:17:44 So, I think we've got consensus about not having class

[PHP-DEV] Re: Unnecessary overhead in getdate()

2018-03-30 Thread Christoph M. Becker
On 29.03.2018 at 11:51, Benjamin Coutu wrote: > Just like `[i]date()`, `getdate()` without the `$timestamp` argument uses the > current timestamp. > > The code for `[i]date()` > (https://github.com/php/php-src/blob/master/ext/date/php_date.c#L1276) only > makes a system call to `time(NULL)` wh