fix php sample