Re: [PHP-DEV] Constants and Access Modifiers

2017-11-11 Thread Stanislav Malyshev
Hi! > Yes, Dart has a different understanding of const, which is exactly why I > posted it for you guys. In the hope that it helps to get more different > views on the topic. Currently you are too concentrated on how it is > implemented in PHP at this time, and argue that it is impossible to >

Re: [PHP-DEV] Constants and Access Modifiers

2017-11-11 Thread Rowan Collins
On 11/11/2017 18:39, Fleshgrinder wrote: On 11/6/2017 1:44 AM, Stanislav Malyshev wrote: From this link, it looks like const in Dart has pretty much nothing in common with const in PHP, besides name, so in the interest of avoiding confusion, I would not discuss it in the same topic. Yes,

Re: [PHP-DEV] Constants and Access Modifiers

2017-11-11 Thread Fleshgrinder
On 11/6/2017 1:44 AM, Stanislav Malyshev wrote: > Hi! > >> An abstract constant is a constant that requires its value to be defined >> later, like an abstract method that requires its implementation to be >> defined later. > > It's not a constant then, and should be a method. > No, because a

Re: [PHP-DEV] Re: [RFC] Distrust SHA-1 Certificates

2017-11-11 Thread Niklas Keller
> > I just pushed support for security_level [1] which is more comprehensive > and the patch is also very simple. > > Apology for such last minute addition but I felt that it is really useful > for 7.2 and I have already messaged about that and haven't heard any > objections. Of course if anyone