<?php $N = 10; $SUM = ($N & ($N % 2 ? 0 : ~0) | ( (($N & 2)>>1) ^ ($N & 1) ) ); echo "$SUM";
Standard input is empty
11
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!