Php String Replace All Python Operators Order