<?php
$text = "+7 - ( 923 ) - 89 - 87888";
$regexp = '/^(7|8)([ ]|[-]|[(])([0-9]{3})([ ]|[-]|[)])([0-9]{7})$/';
$regexp2 = '/^(7|8)([0-9]{3})([0-9]{7})$/';
echo "Все заебок";
}
else{
echo "написал какую то дичь";
}
PD9waHAKCiR0ZXh0ID0gIis3IC0gKCA5MjMgKSAtIDg5IC0gODc4ODgiOwokcmVnZXhwID0gJy9eKDd8OCkoWyBdfFstXXxbKF0pKFswLTldezN9KShbIF18Wy1dfFspXSkoWzAtOV17N30pJC8nOwokcmVnZXhwMiA9ICcvXig3fDgpKFswLTldezN9KShbMC05XXs3fSkkLyc7CmlmICgocHJlZ19tYXRjaCgkcmVnZXhwLCR0ZXh0KSlvcigocHJlZ19tYXRjaCgkcmVnZXhwMiwkdGV4dCkpKSl7CmVjaG8gItCS0YHQtSDQt9Cw0LXQsdC+0LoiOwp9CmVsc2V7CmVjaG8gItC90LDQv9C40YHQsNC7INC60LDQutGD0Y4g0YLQviDQtNC40YfRjCI7Cn0=