Javascript code:
console.log( 1 << 5 );
console.log( 1111044149 << 2 );
Javascript output:
32
149209300
PHP code:
var_dump( 1 << 5 );
var_dump( 1111044149 << 2 );
PHP output:
32
4444176596
Why 1111044149 << 2
has difference between PHP and javascript? I'm writing a javascript code to PHP and everything worked less that part and I need the PHP code shows similar results obtained in javascript to be perfect.