fix php unsupported syntax