hello!
i previously submitted this thread to show that bitwise operations were no longer working on serverside -
Quote:
Originally Posted by Jakov_the_Jakovasaur
hello!
after doing the following:
PHP Code:
temp.a = 2;
echo(temp.a);
temp.a &= ~2;
echo(temp.a);
this is being output:
on clientside however it outputs:
are bitwise operations broken on serverside or am i going senile?
if they are broken this should be fixed asap
|
for the new client i now see that they are not working clientside either, and now some of my systems are broken
i am
appalled that no attention has been paid to this issue, the bug has now been released with the new client when had there been some proper support this could have been avoided
here is another example of the bug -
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.b = 1 + 2 + 4;
echo(temp.b);
temp.b &= ~4;
echo(temp.b);
}
this outputs -
7
4
on the previous client version it output -
7
3
if i change the script to:
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.b = 1 + 2 + 4 + 8 + 16;
echo(temp.b);
temp.b &= ~8;
echo(temp.b);
}
it outputs:
31
24
instead of:
31 23