Hey!
I think I have found the answer. The Bitoperation-Functions are only designed for 32bit CPU's... But webhosters are mostly running 64bit like mine:
Code:
Webhoster:
PHP_VERSION=5.1.6
PHP_OS=Linux
PHP_INT_MAX=9223372036854775807
PHP_INT_SIZE=8
+1 -> -9223372036854775808
- -> -9223372036854775807
-1 -> -9223372036854775808
L -> dcba
N -> abcd
V -> dcba
Local:
PHP_VERSION=5.2.5
PHP_OS=WINNT
PHP_INT_MAX=2147483647
PHP_INT_SIZE=4
+1 -> -2147483648
- -> -2147483647
-1 -> -2147483648
L -> dcba
N -> abcd
V -> dcba
Is it much work to change these functions so that they are compatible with 32- AND 64bit? I have no knowledge about this stuff :(
Maybe someone can help me?
Here you can find the much more clear arranged script:
http://rhonkar.kilu.de/gsquery.rar
The problematic functions (I think):
function lshiftright($var,$amt)
function _BF_SHR32($x,$bits)
function _BF_SHL32($x,$bits)
...
Thanks!
Greets