Degenerate parabolic equations with general nonlinearities