Click here for substr_compare function details.
For information on PHP Multibyte String support, click here.