Boosting exciton dissociation and charge transfer in P-doped 2D porous g-C3N4 for enhanced H2 production and molecular oxygen activation