مَا حَضَرَ كُلُّ الطُّلَّابِ؛ وَلَمْ يَحْضُرْ أَيُّ طَالِبٍ.
Not all students attended; and no student attended at all.
The first normally denies universal attendance: some students may have attended. The second denies attendance of every individual. Treating the two as identical reverses the scope of negation.
ExpressionImplication
ما حضر كل الطلابUniversal attendance is denied
لم يحضر أي طالبAttendance by any student is denied
The relevant difference is the scope of the negation, not simply the presence of a negative particle.