<?php
$number = '8-(911)-506-5656';
$regexp = '/^8([^0-9]{1,})?911([^0-9]{1,})?5([^0-9]{1,})?0([^0-9]{1,})?6([^0-9]{1,})?5([^0-9]{1,})?6([^0-9]{1,})?5([^0-9]{1,})?6$/';
echo "Правильно набран номер";
} else {
echo "Неправильно набран номер";
}
PD9waHAKCiRudW1iZXIgPSAnOC0oOTExKS01MDYtNTY1Nic7CiRyZWdleHAgPSAnL144KFteMC05XXsxLH0pPzkxMShbXjAtOV17MSx9KT81KFteMC05XXsxLH0pPzAoW14wLTldezEsfSk/NihbXjAtOV17MSx9KT81KFteMC05XXsxLH0pPzYoW14wLTldezEsfSk/NShbXjAtOV17MSx9KT82JC8nOwoKaWYgKHByZWdfbWF0Y2goJHJlZ2V4cCwgJG51bWJlcikpIHsKCWVjaG8gItCf0YDQsNCy0LjQu9GM0L3QviDQvdCw0LHRgNCw0L0g0L3QvtC80LXRgCI7Cn0gZWxzZSB7CgllY2hvICLQndC10L/RgNCw0LLQuNC70YzQvdC+INC90LDQsdGA0LDQvSDQvdC+0LzQtdGAIjsKfQ==