Simple calculator with basic operations in PHP