IPhone 5 camera better then rebel t3i?

Is the iPhone camera just as good as any other professional camera? Are the quality's the same, better, or worse please let me thank you!

Not even close. The tiny image sensor and set focal length can't compare to any DSLR. Of course, if you don't know how to use a DSLR properly you might not see much difference.

The cheapest dedicated camera is better THAN any phone.

Look at your pinkie's fingernail. The iPhone's digital sensor is at most just half of that. Now look at your thumb's fingernail. That's how big the T3i's sensor is. Look the whole tip of your thumb, that's how a full frame sensor is. There are cameras that have larger sensor sizes even and that's only medium format. Imagine large format cameras then. The iPhone is but a speck of dirt in terms of sensor sizes. How can it compete with dSLR's?

The iPhone's only hope of beating a dSLR is if you give it to a knowledgeable photographer who knows how to use the iPhone's camera instinctively and hand over the mighty dSLR to someone who has no idea about cameras at all. The dSLR will still take decent pictures accidentally even if the person is completely ignorant about it though so the iPhone will still have to rely on luck even if handled by a master.