Green and easy synthesis of P-doped carbon-based hydrogen evolution reaction electrocatalysts