Self-supported Cu3P nanowire arrays as an integrated high-performance three-dimensional cathode for generating hydrogen from water.