Ben php port için bu java çalışıyorum:
String _value = '1111122222';
if (_value.matches("(1{5}|2{5}|3{5}|4{5}|5{5}|6{5}|7{5}|8{5}|9{5}){2}")) {
// check for number with the same first 5 and last 5 digits
return true;
}
Yorum anlaşılacağı gibi, ben '1111122222 'veya '5555566666' gibi bir dize için test etmek istiyorum
PHP bunu nasıl yapabilirim?
Thanks, Scott