Reverse polish computer for PHP