3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print(mt_rand(1,10));
Output for 7.1.8, 7.2.3, 7.3.0rc3
4
Output for 7.0.28, 7.3.0alpha4 - 7.3.0beta1, 7.3.0rc1 - 7.3.0rc2
7
Output for 7.1.2 - 7.1.3, 7.1.5, 7.1.10, 7.1.22, 7.2.4, 7.3.0alpha3, 7.3.0beta3
9
Output for 5.6.38, 7.1.9, 7.1.18, 7.2.0 - 7.2.1, 7.3.0beta2
3
Output for 7.1.21, 7.1.23, 7.2.9, 7.2.11, 7.3.0alpha2
10
Output for 7.1.20, 7.2.5, 7.2.10, 7.3.0alpha1
2
Output for 7.1.0, 7.1.7, 7.1.11, 7.1.15, 7.2.6, 7.2.8
5
Output for 7.1.4, 7.1.19, 7.2.2, 7.2.7
1
Output for 7.1.1, 7.1.12 - 7.1.14, 7.1.17
6
Output for 7.1.6, 7.1.16
8