0

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?

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Lapixx
0

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?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.