3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bits = 64; $N = 0xfffffffe; var_dump($N); $result = -( pow(2, $bits) - $N ); echo $result;
Output for 4.3.0 - 7.1.0
int(4294967294) -1.8446744069415E+19