Re: AW: [PHP-DEV] [RFC] Skipping parameters take 2

2015-01-16 Thread Stanislav Malyshev
Hi! > This would be quite a nice feature, even if this RFC does not pass. > Just as hint, there are ambiguous case which need to be considered: > > interface A{ function foo($a=1); } interface B{ function > foo($a="hi"); } class C implements A, B{ function foo($a=default){} > //what would be the

Re: AW: [PHP-DEV] [RFC] Skipping parameters take 2

2013-09-02 Thread Sebastian Krebs
2013/9/2 Stas Malyshev > Hi! > > > I would not agree with your argument that it should be introduced > because it > > is requested by real people for years and it is simple to add. Isn't that > > pretty much the same as "because we can"? > > No, it is pretty much the opposite. It is "because peop

Re: AW: [PHP-DEV] [RFC] Skipping parameters take 2

2013-09-02 Thread Stas Malyshev
Hi! > I would not agree with your argument that it should be introduced because it > is requested by real people for years and it is simple to add. Isn't that > pretty much the same as "because we can"? No, it is pretty much the opposite. It is "because people need it". > IMO we should wait with