Comment on \d less efficient than [0-9]parentComments−0x013yIn PHP 5.4.15, I get: var_dump(preg_match('/\d/u', '١٣٦٨')) -> 1 var_dump(preg_match('/\d/', '١٣٦٨')) -> 0
Comments
In PHP 5.4.15, I get: