Created solution for stackoverflow question

http://stackoverflow.com/questions/27206545/if-elseif-php-simple-calculator