What does changing "my number" on the iPhone do?
It changes your number everywhere on your iPhone (That is, it doesn't change your number on the SIM or the network). 

An example where your number is used is under contacts in your phone app. If you scroll to the very top it displays the number you've set in the preferences. So really, it doesn't change much.