3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(5, 6);
based on uBamW
Output for 5.6.38, 7.1.1 - 7.1.2, 7.1.4 - 7.1.7, 7.1.10 - 7.1.11, 7.1.13, 7.1.16, 7.1.20 - 7.1.21, 7.1.23 - 7.2.1, 7.2.3, 7.2.6 - 7.2.9, 7.2.11, 7.3.0alpha2 - 7.3.0beta1, 7.3.0beta3 - 7.3.0rc3
6
Output for 7.0.28 - 7.1.0, 7.1.3, 7.1.8 - 7.1.9, 7.1.12, 7.1.14 - 7.1.15, 7.1.17 - 7.1.19, 7.1.22, 7.2.2, 7.2.4 - 7.2.5, 7.2.10, 7.3.0alpha1, 7.3.0beta2
5