Php String Replace All Python Keywords