What does ++$this->position?
I can not understand what kind of design ++$this->position;
![alt text] : i.imgur.com/ceREP.png - Vfvtnjd 06-09-2012 в 11:10:51
But it is not clear why this is the case, ++$a, rather than the more usual $a++ - kite 06-09-2012 в 16:53:05
This means that incrementarse property
or even so:
Answered: vladimir_ki 06-09-2012 в 11:08:39
and it is not nravitsa record $this->position++? - zloctb 06-09-2012 в 11:10:14
Code clarity is one of its main qualities. Entry
thank you very much. - zloctb 06-09-2012 в 11:19:10
This operation increases the operand by 1. In this case, the position variable of your class is incremented. The operation is called a Prefix increment, to read about it Moree here:
Operators increment and decrement operators in PHP.
Answered: Deleted 06-09-2012 в 11:11:24