I'm trying to do some validation exercises and I was wondering this code seems to return false always.
if (preg_match("/^[0-9]{7}$/", '1234567')) {
die('match');
}
I'm currently testing for full-width japanese characters/numbers. I'm wondering why it doesn't execute the die command. Any help is appreciated. Thank you in advance :)