3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 3; $var++; echo "The incremented value is $var.\n"; $var--; echo "The decremented value is $var.\n";
based on MtrZG
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
The incremented value is 4. The decremented value is 3.