Is it possible to completely reformat an iPhone?

I do not mean a restore.

In terms of iPhone options vs Win8 PC options…

Reset Settings = "Refresh PC"
Restore = "Remove Everything and Reinstall Windows"

Both of those ^ are in the Restore Settings for Windows 8, I think they are pretty comparable to the options listed for an iPhone. But neither of them are what I want…

? = Wipe the storage unit (HDD/SSD) with all 0's or 1's, Reformat, reinstall Windows from scratch.

^^^ THAT. Is there any way to do that? Let me know if your confused as to what I'm asking, I've found this same question on other sites and everyone seems to be thinking a Restore. No, I mean a full reformat and reinstall.

Thats what the erase all contents is for.

Restoring and reformatting a iphone are the same retsoreing will erease everything and reinstall ios 7 opperationg system