Below is the left shift code in c# and php7.
Why and how to match PHP output with C# output?
Thanks in advance.
C#
var ret = 0xFFFFFFFF;
var a=ret << 8;
Console.WriteLine(a);
Output
4294967040
where as
PHP
$ret = 0xFFFFFFFF;
$a=$ret << 8;
echo $a;
Output
1099511627520