How to validate NHS number using check digit 11 (mod 11) using PHP.
After a long search on the internet trying to find a function that I can use to validate check digit 11 (mod 11) number, I couldn't find so I end up developing one myself and share it here. I hope someone my find it useful.
The code with comments: