Update PHP class snippet.