<?php
$a = 10;
$b = 6;
echo ++$a; // pre incremento
echo "<br>";
echo $b++;
echo "<br>";
echo$b; // pós incremento
echo"<br>";
echo--$a;// pré decremento
//https://pt.stackoverflow.com/q/349349/101
PD9waHAgCiRhID0gMTA7CiRiID0gNjsKZWNobyArKyRhOyAvLyBwcmUgaW5jcmVtZW50bwplY2hvICI8YnI+IjsKZWNobyAkYisrOwplY2hvICI8YnI+IjsKZWNobyRiOyAvLyBww7NzIGluY3JlbWVudG8KZWNobyI8YnI+IjsKZWNoby0tJGE7Ly8gcHLDqSBkZWNyZW1lbnRvCgoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMzQ5MzQ5LzEwMQ==