Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ashley Sheridan
On Sat, 2009-10-03 at 15:33 +0200, Ralph Deffke wrote: u increment after! asigning, so far so good, but for math reasons the interpreter has to keep in mind the 123 you want to assign before increment to the same var. this is absolutely correct what php does here. $num = ++$num; would

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ralph Deffke
yes for using $num = $num++; yes !! Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1254577641.2385.7.ca...@localhost... On Sat, 2009-10-03 at 15:33 +0200, Ralph Deffke wrote: u increment after! asigning, so far so good, but for math reasons the interpreter has to keep in

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ashley Sheridan
On Sat, 2009-10-03 at 15:46 +0200, Ralph Deffke wrote: yes for using $num = $num++; yes !! Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1254577641.2385.7.ca...@localhost... On Sat, 2009-10-03 at 15:33 +0200, Ralph Deffke wrote: u increment after! asigning, so

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ralph Deffke
this is a clear sign that somebody is on a sin TRAIL, I would not even spend the time on what sin collections this guy got Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1254577986.2385.8.ca...@localhost... On Sat, 2009-10-03 at 15:46 +0200, Ralph Deffke wrote: yes for using

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Tom Worster
On 10/3/09 9:53 AM, Ralph Deffke ralph_def...@yahoo.de wrote: this is a clear sign that somebody is on a sin TRAIL, I would not even spend the time on what sin collections this guy got i see it more as ignorance than sin. to misunderstand the difference between $n++ and ++$n is a beginner