If you use PHP Paste or PageGuard, while pasting the PHP code please save the file with utf-8 encoding.

In Sublime text 3 editor, save the file with utf-8 encoding: