<?php
$numero = 5198765432;
$ddd_cliente = substr($numero, 0, 2); $numero_cliente = substr($numero, 2); echo "DDD: {$ddd_cliente} NĂºmero: {$numero_cliente}";
PD9waHAKCiRudW1lcm8gPSA1MTk4NzY1NDMyOwokZGRkX2NsaWVudGUgPSBzdWJzdHIoJG51bWVybywgMCwgMik7CiRudW1lcm9fY2xpZW50ZSA9IHN1YnN0cigkbnVtZXJvLCAyKTsKZWNobyAiREREOiB7JGRkZF9jbGllbnRlfSBOw7ptZXJvOiB7JG51bWVyb19jbGllbnRlfSI7