On 1/13/2017 8:24 AM, Wes wrote:
>>
>> I am baffled that this (still) works:
>>
>
> __clone was special cased in 5.x, but special case was removed in 7.0
> means that previously you couldn't do publicly $obj->__clone(); now you can
> and, yes, it's as dangerous as it looks
> however, the special c
Hi All.
Am 14.01.17 um 11:03 schrieb Fleshgrinder:
> On 1/13/2017 8:24 AM, Wes wrote:
[…]
> On 1/13/2017 8:24 AM, Wes wrote:
>>> the only reason for prohibiting explicit __construct calls is that it makes
>>> PHP objects mutable
>>
>>
>> then don't call it explicitly, exactly like you wouldn't use
On 1/14/2017 11:20 AM, Andreas Heigl wrote:
> Do we as "makers of PHP" want to dictate the user what the "intended"
> behaviour of PHP is? Or are we treating the user as a responsible person
> that knows what to do and also not to do?
>
> Personally I'm in favour of the later. Let the user be able
> Am 14.01.2017 um 11:26 schrieb Fleshgrinder :
>
>> On 1/14/2017 11:20 AM, Andreas Heigl wrote:
>> Do we as "makers of PHP" want to dictate the user what the "intended"
>> behaviour of PHP is? Or are we treating the user as a responsible person
>> that knows what to do and also not to do?
>>
>
I'm surprised no one is raising a strong argument about the
"parent::__construct()" call, so I'll do it.
I never liked typing "parent::__construct()" to call parent's class
constructor, but now that this proposal is being discussed (and might even
be accepted) I would like to throw some more meat
Hi,
> -Original Message-
> From: Niklas Keller [mailto:m...@kelunik.com]
> Sent: Friday, January 13, 2017 4:46 PM
> To: Leigh
> Cc: Anatol Belski ; Michael Wallner ;
> PHP Internals ; Bob Weinand ;
> Daniel Lowrey
> Subject: Re: [PHP-DEV] Fwd: Monotonic Time
>
> 2017-01-13 15:06 GMT+01:
>
> Hi,
>
> > -Original Message-
> > From: Niklas Keller [mailto:m...@kelunik.com]
> > Sent: Friday, January 13, 2017 4:46 PM
> > To: Leigh
> > Cc: Anatol Belski ; Michael Wallner >;
> > PHP Internals ; Bob Weinand ;
> > Daniel Lowrey
> > Subject: Re: [PHP-DEV] Fwd: Monotonic Time
> >
>
2017-01-14 15:58 GMT+01:00 Giovanni Giacobbi :
> I'm surprised no one is raising a strong argument about the
> "parent::__construct()" call, so I'll do it.
>
> I never liked typing "parent::__construct()" to call parent's class
> constructor, but now that this proposal is being discussed (and migh
On 1/14/2017 7:10 PM, Michał Brzuchalski wrote:
> AFAIK parent is a speciual scope which help refers to variables and
> functions in base classe
> http://php.net/manual/kr/keyword.parent.php
> So it looks like proposing your syntax could lead to huge BC break.
> In other languages (eg. Java) there
2017-01-14 19:24 GMT+01:00 Fleshgrinder :
> On 1/14/2017 7:10 PM, Michał Brzuchalski wrote:
> > AFAIK parent is a speciual scope which help refers to variables and
> > functions in base classe
> > http://php.net/manual/kr/keyword.parent.php
> > So it looks like proposing your syntax could lead to
you guys went slightly off topic :P
11 matches
Mail list logo