3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=random_int(1,1); echo $a;
based on ZLKvi
Output for 7.0.0 - 7.2.6
1
Output for 5.6.0 - 5.6.29
Fatal error: Call to undefined function random_int() in /in/vR6HB on line 3
Process exited with code 255.