Onset of ultrashort laser pulses: First or second order phase transition?