3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "Hashnum='".$Hashnum."'\n"; //it prints: Hashnum='-308274319' $HashStr = sprintf('%u', $Hashnum) ; $length = strlen($HashStr); //it prints: HashStr='3986692977'
Output for 5.3.28 - 5.3.29, 5.4.18 - 7.1.0
Notice: Undefined variable: Hashnum in /in/lEMi7 on line 2 Hashnum='' Notice: Undefined variable: Hashnum in /in/lEMi7 on line 3
Output for 5.0.4 - 5.3.27, 5.4.0 - 5.4.17
Notice: Undefined variable: Hashnum in /in/2Wc70 on line 2 Hashnum='' Notice: Undefined variable: Hashnum in /in/2Wc70 on line 3
Output for 4.3.1 - 5.0.3
Notice: Undefined variable: Hashnum in /in/2Wc70 on line 2 Hashnum='' Notice: Undefined variable: Hashnum in /in/2Wc70 on line 3
Output for 4.3.0
Notice: Undefined variable: Hashnum in /in/lEMi7 on line 2 Hashnum='' Notice: Undefined variable: Hashnum in /in/lEMi7 on line 3