<?php if(strlen($mobile) >= 4 and $mobile <> __('No phone number', 'veronika')) {echo substr($mobile, 0, strlen($mobile) - 4) . 'xxxx'; } else {echo $mobile;}?>
<?php if(strlen($mobile) >= 4 and $mobile <> __('No phone number', 'veronika')) {echo 'xxxxxxxxxx'; } else {echo $mobile;?>
well, it still doesn't, shows up a close unexpected error
<?php if(strlen($mobile) >= 4 and $mobile <> __('No phone number', 'veronika')) {echo 'xxxxxxxxxx'; } else {echo $mobile;}?>