Does apple take back iphones with a swollen battery?

About a week ago my iPhone 4's battery started to swell. Right now it is swollen to the point where the back of the phone has almost come off. I was wondering if I can go the apple store and get it checked out. My question is is that will they take my phone and give me a new one/upgrade me to a iPhone 5, or will they just leave me hanging? I don't think I have any warranty on my phone anymore, will that change how they treat me? Please help!

Thank you in advance.

Added (1). And If I do have to pay for it than how much would I cost me?

If the phone was under warranty they would replace it, but since yours is out of warranty you'll probably end up having to pay for it.

They definitely won't upgrade you to an iPhone 5 for free.

Get a decent battery from eBay for $15 and change it yourself if you just follow a YouTube guide.