Environmental factors and microbial communities jointly regulate biological dephosphorization process in pond-ditch circulation systems (PDCSs) for rural wastewater treatment.