3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $Hashnum = -308274319; echo "Hashnum='".$Hashnum."'\n"; //it prints: Hashnum='-308274319' $HashStr = sprintf('%u', $Hashnum) ; $length = strlen($HashStr); //it prints: HashStr='3986692977'
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
Hashnum='-308274319'
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/5QkvT on line 5
Process exited with code 255.