i hAd 0 Hp aNd wAs sTiLl aLiVe?!?
From a technical point of view, health is stored in a floating point number. But when it's displayed, it is rounded down. So you probably had something like 0.5 hp.