I think it will add 0 to all phone numbers ?
My solution is different, it just shows 0 if user typed it and don't show when didn't type.
Problem is that when phone number is saved script converts it to integer data type (0123 will be 123) etc. area, code and number itself.
So number stored in database without 0, my solution is remove conversion to integer.