3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = 0xffffffffffffffff; echo $num, "\n",$num2; echo "\n",~$num,"\n"; printf("%u %d",~$num, ~$num);
Output for 5.3.0 - 7.1.0
1.844674407371E+19 Notice: Undefined variable: num2 in /in/2MUsp on line 3 -1 18446744073709551615 -1
Output for 5.2.4 - 5.2.17
1.844674407371E+19 Notice: Undefined variable: num2 in /in/2MUsp on line 3 9223372036854775807 9223372036854775807 9223372036854775807
Output for 5.0.4 - 5.2.3
1.844674407371E+19 Notice: Undefined variable: num2 in /in/2MUsp on line 3 9223372036854775807 4294967295 9223372036854775807
Output for 4.3.0 - 5.0.3
1.844674407371E+19 Notice: Undefined variable: num2 in /in/2MUsp on line 3 9223372036854775807 4294967295 9223372036854775807