3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(rand(1000));
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: rand() expects exactly 2 parameters, 1 given in /in/7kRFI on line 2 NULL
Output for hhvm-3.13.2
int(439896066)
Output for hhvm-3.12.0
int(560518051)
Output for hhvm-3.10.0
int(524048609)