coding-standard
coding-standard copied to clipboard
Sniff Request: Identifiers should consist of only ASCII characters
This below example is bad for less obvious reason
class 💩
{
public static $роοр;
}
💩::$роοр
is spelled \u0440 \u043e u03bf \u0440 (vs "poop")
Good luck trouble shooting.
Great idea!
Especially, it would be helpful when someone puts Cyrillic с
instead of Latin c
into a variable.