Re: [PHP-DEV] Deprecation of the formats DATE_ISO8601 and DATE_RFC7231

2023-05-19 Thread Jorg Sowa
> How common is it in the wild? I am pretty sure I've used it myself without really thinking many times, which I suspect is common. Knowing how much code would be impacted would determine how we'd go about deprecating it and on what timeline. I'm not sure how would be possible to find out. I

Re: [PHP-DEV] Deprecation of the formats DATE_ISO8601 and DATE_RFC7231

2023-05-19 Thread Larry Garfield
On Fri, May 19, 2023, at 8:49 PM, Jorg Sowa wrote: > Hello everyone, > > I would like to propose the deprecation of the constants DATE_ISO8601, > DateTimeInterface::ISO8601 and DateTimeInterface::RFC7231, DATE_RFC7231. > > Arguments for deprecating DATE_ISO8601: > - outdated format, standard has

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Larry Garfield
On Fri, May 19, 2023, at 6:55 PM, Robert Landers wrote: > I'd also like to add that I like the 'hands-off' approach that PHP has > taken in the past. I'm not a fan of some of the PSRs. I literally had > someone tell me a few months ago that I would never be a 'real > programmer' because I used

[PHP-DEV] Deprecation of the formats DATE_ISO8601 and DATE_RFC7231

2023-05-19 Thread Jorg Sowa
Hello everyone, I would like to propose the deprecation of the constants DATE_ISO8601, DateTimeInterface::ISO8601 and DateTimeInterface::RFC7231, DATE_RFC7231. Arguments for deprecating DATE_ISO8601: - outdated format, standard has been changed while ago - incompatible with format

Re: [PHP-DEV] [RFC] Property hooks, nee accessors

2023-05-19 Thread Larry Garfield
On Mon, May 8, 2023, at 9:38 PM, Larry Garfield wrote: > Ilija Tovilo and I would like to offer another RFC for your > consideration. It's been a while in coming, and we've evolved the > design quite a bit just in the last week so if you saw an earlier draft > of it in the past few months, I

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Robert Landers
I'd also like to add that I like the 'hands-off' approach that PHP has taken in the past. I'm not a fan of some of the PSRs. I literally had someone tell me a few months ago that I would never be a 'real programmer' because I used tabs instead of spaces which is against the PSR-12 spec (which is

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Larry Garfield
On Fri, May 19, 2023, at 2:02 PM, Rowan Tommins wrote: > On Fri, 19 May 2023 at 08:45, Arvids Godjuks > wrote: > >> I think this whole thread can be summarized into a single statement: >> >> "Let's integrate PSR standards into PHP core and ship those interfaces as >> part of the language" >> > >

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Rowan Tommins
On Fri, 19 May 2023 at 08:45, Arvids Godjuks wrote: > I think this whole thread can be summarized into a single statement: > > "Let's integrate PSR standards into PHP core and ship those interfaces as > part of the language" > That's one of the angles that's come up, but there are also some

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Arvids Godjuks
On Fri, May 19, 2023, 09:26 Mike Schinkel wrote: > > On May 18, 2023, at 1:34 PM, Rowan Tommins > wrote: > > On Thu, 18 May 2023 at 16:27, Deleu wrote: > >> Monolog is a great example of what PHP is missing - a single library > for a > >> purpose. I have never worked with any other library

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Mike Schinkel
> On May 18, 2023, at 1:34 PM, Rowan Tommins wrote: > On Thu, 18 May 2023 at 16:27, Deleu wrote: >> Monolog is a great example of what PHP is missing - a single library for a >> purpose. I have never worked with any other library besides Monolog and I >> never worked on any project which didn't