Replay parser for SC2 in PHP