Self-phase modulation in various regimes of intense laser–plasma interactions