Strange variable/method/class names - PHP -


i've php file can't read because variables/functions have strange names! block of function of file is:

public static function    …………  …… …  ($   ………  …  ……  , $   …… ………  ……  ) {     $   …… ……   ……   = strpos(   …………… … ……  ::   ……… ……… …   ($   ………  …  ……  ) , $   …… ………  ……  );      return (false !== $   …… ……   ……  ) ? (int)floor($   …… ……   ……   / 4) : false; } 

as know php standards don't allow use dots , spaces in varaible name.

i myself came if there related character encoding! found, file encoding windows-1252.

can these dots , spaces converted readable?

also because variables/functions, have more 1 occurrence in file.

edited #1

i open file notepad++/sublime text under widnows os , it's not paid or something.

edited #2

script works without problem!

edited #3

link file: https://www.dropbox.com/s/hoegvk0vz53cnyn/include.php

it appears "spaces" , "dots" not like. in code posted in question, these in fact "non-breaking-spaces" (c2 a0) , "ellipsis" (e2 80 a6). these valid characters in identifier.

(thank stackoverflow being 100% utf-8 compatible).

[edit]

... having looked @ file linked, file encoding rather windows-1252 (aka. cp1252). answer still correct, corresponding binary values differ bit ones mentionned above.


Comments