<?php
// // error reporting (-1);
$regexp = "/^7[0-9]{11}/";
$s = '7123h666';
$i = '758678064579';
echo " начинается с 7\n";
} else {
echo "НЕ начинается с 7\n";
}
echo "11 цифр\n";
} else {
echo "не 11 цифр\n";
}
PD9waHAKCi8vIC8vIGVycm9yIHJlcG9ydGluZyAoLTEpOwogCiRyZWdleHAgPSAiL143WzAtOV17MTF9LyI7CiRzID0gJzcxMjNoNjY2JzsKJGkgPSAnNzU4Njc4MDY0NTc5JzsKaWYgKHByZWdfbWF0Y2goJHJlZ2V4cCwkcykpIHsKCWVjaG8gIiDQvdCw0YfQuNC90LDQtdGC0YHRjyDRgSA3XG4iOwp9IGVsc2UgewoJZWNobyAi0J3QlSDQvdCw0YfQuNC90LDQtdGC0YHRjyDRgSA3XG4iOwp9CiAKaWYgKHByZWdfbWF0Y2goJHJlZ2V4cCwkaSkpIHsKCWVjaG8gIjExINGG0LjRhNGAXG4iOwp9IGVsc2UgewoJZWNobyAi0L3QtSAxMSDRhtC40YTRgFxuIjsKIAp9CQog