I have a very strange problem...

I have the exact same data on my local server and remote server, same php code everything... Same PHP Version..

I use this code..

echo ord($str[11]) << 24;

And it returns a totally different incorrect result on the remote server, but totally fine on the local server....

I really don't understand... ord($str[7]) << 24) returns exactly the same on both, and $str is exactly the same....

Help please?

It would be useful if you provided the value of $str[11]. Perhaps there is something wrong with the character?

Also, what is the server supposed to return, and what is the remote server returning?