NOTE.......
To use a local sim card, you will have to have had your phone unlocked.
I took my old Sony Ericcson K750i along on the last trip, and I know it IS unlocked (as I've used Orange PAYG in it in the UK and it was a Vodafone contract phone) however when we put the Maroc Telecom PAYG sim in it, it wouldn't work ...the guy in the shop said that it had to be unlocked for Morocco (seems odd to me but I'm no expert....all I know is it didn't work)
Instead, we got some cheap Moroccan PAYG phones...... 299MAD (£18.70) and some credits.......it meant that we had our own UK numbers and phone in use for calls from people who wouldn't have known the new sim card number (but who could then be told to call back on it) and we had a second phone for cheap calls with a Moroccan phone number
For under £20, it's the way to go