3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mt_srand(1234); echo mt_rand(100,1) . "\n";
Output for 5.3.4 - 5.6.28, 7.0.0 - 7.1.0
Warning: mt_rand(): max(1) is smaller than min(100) in /in/OfNE4 on line 3
Output for 5.2.1 - 5.3.3, hhvm-3.12.0
21
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.2.0
51