Actor Frankie Muniz says he was hospitalized last week after suffering a "mini stroke."

Frankie Muniz says he suffered a mini stroke last week. (Kevin Winter, Getty Images)

The former star of "Malcolm in the Middle" wrote on Twitter Tuesday that he was treated Friday for a "mini stroke," which he describes as "not fun at all."

He says he has to "start taking care of my body. Getting old!" but provided no other details.

Muniz turns 27 Wednesday.

A representative for Muniz did not immediately respond to a request for comment.

(Copyright 2012 by The Associated Press. All Rights Reserved.)