<?php $x = 1;$p = $x++ + 2;var_dump($x); echo $x ?>
Standard input is empty
int(2) 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!