Guest User

Untitled

a guest
Jun 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $array = [1, 2, 3];
  2. $result = $array[0]++; // Никаких ошибок код не выдаёт
  3. echo "<p> $result"; // В переменной 1 а не 2.
  4.  
  5. $result = ++$array[0];
Add Comment
Please, Sign In to add comment