<?php $phone = '040783248898'; echo preg_replace('/.(?=.{4})/', '*', $phone);
You have javascript disabled. You will not be able to edit any code.