Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Sebastian Krebs
Am 26.08.2012 01:57, schrieb Ferenc Kovacs: > So you are saying that your (teams) IDE doesn't tell you the method > signature which contains also the default values? > I guess that the fact that many of the php core functions have optional > arguments and non null default

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
> > > > So you are saying that your (teams) IDE doesn't tell you the method > > signature which contains also the default values? > > I guess that the fact that many of the php core functions have optional > > arguments and non null defaults must be really a PITA for you. > > I think what he was al

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread David Muir
On 26/08/2012, at 4:09 AM, Ferenc Kovacs wrote: > 2012.08.25. 19:50, "Sebastian Krebs" ezt írta: >> >> Am 25.08.2012 18:38, schrieb Ferenc Kovacs: >> >>> >>>would this trigger a notice if $foo is not defined? >>>if yes, then it would be different from the current behavior of

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
2012.08.25. 19:50, "Sebastian Krebs" ezt írta: > > Am 25.08.2012 18:38, schrieb Ferenc Kovacs: > >> >> would this trigger a notice if $foo is not defined? >> if yes, then it would be different from the current behavior of the >> ternary operator. >> >> >> Couldn't belie

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Sebastian Krebs
Am 25.08.2012 18:38, schrieb Ferenc Kovacs: would this trigger a notice if $foo is not defined? if yes, then it would be different from the current behavior of the ternary operator. Couldn't believe it, thus I tested it myself snip Don't know, what you are ta

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-25 Thread Ferenc Kovacs
> > >> would this trigger a notice if $foo is not defined? >> if yes, then it would be different from the current behavior of the >> ternary operator. >> > > Couldn't believe it, thus I tested it myself > snip > Don't know, what you are talking about, but the notice _is_ the current > behaiour a

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-24 Thread Sebastian Krebs
Am 24.08.2012 23:11, schrieb Ferenc Kovacs: On Fri, Aug 17, 2012 at 11:41 PM, Sebastian Krebs mailto:krebs@gmail.com>> wrote: Hi, Don't know, how complicated this is (and also someone (not me) must implement it, because I can't :X), but to be in sync with the operators the

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-24 Thread Ferenc Kovacs
On Fri, Aug 17, 2012 at 11:41 PM, Sebastian Krebs wrote: > Hi, > > Don't know, how complicated this is (and also someone (not me) must > implement it, because I can't :X), but to be in sync with the operators the > short ternary operator should be usable in conjunction with the assignment > like t

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-19 Thread Sebastian Krebs
Am 19.08.2012 00:20, schrieb Andrew Faulds: On 18/08/12 03:36, Tjerk Meesters wrote: Sent from my iPhone On 18 Aug, 2012, at 5:41 AM, Sebastian Krebs wrote: Hi, Don't know, how complicated this is (and also someone (not me) must implement it, because I can't :X), but to be in sync with the

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-18 Thread Andrew Faulds
On 18/08/12 03:36, Tjerk Meesters wrote: Sent from my iPhone On 18 Aug, 2012, at 5:41 AM, Sebastian Krebs wrote: Hi, Don't know, how complicated this is (and also someone (not me) must implement it, because I can't :X), but to be in sync with the operators the short ternary operator shoul

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-17 Thread Tjerk Meesters
Sent from my iPhone On 18 Aug, 2012, at 5:41 AM, Sebastian Krebs wrote: > Hi, > > Don't know, how complicated this is (and also someone (not me) must implement > it, because I can't :X), but to be in sync with the operators the short > ternary operator should be usable in conjunction with t

Re: [PHP-DEV] Combined assignment operator for short ternary

2012-08-17 Thread Ángel González
On 17/08/12 23:41, Sebastian Krebs wrote: > Hi, > > Don't know, how complicated this is (and also someone (not me) must > implement it, because I can't :X), but to be in sync with the > operators the short ternary operator should be usable in conjunction > with the assignment like the other binary