3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = 2; echo rand() / $n;
Output for 7.1.0
548440505
Output for 7.0.14
174860564
Output for 7.0.6
912383797
Output for 7.0.5
433323231
Output for 7.0.4
186649469.5
Output for 7.0.3
1034226257
Output for 7.0.2
327195337
Output for 7.0.1
493977783
Output for 7.0.0
694528200.5
Output for hhvm-3.12.0
559681772
Output for hhvm-3.10.0
299422464
Output for 5.6.28
372885232.5
Output for 5.6.21
43753345.5
Output for 5.6.20
287904967.5
Output for 5.6.19
114087396
Output for 5.6.18
188968023.5
Output for 5.6.17
910406933.5
Output for 5.6.16
782917005
Output for 5.6.15
157279754
Output for 5.6.14
138625540.5
Output for 5.6.13
431377019
Output for 5.6.12
295016271
Output for 5.6.11
576250043
Output for 5.6.10
812609165.5
Output for 5.6.9
100104163.5
Output for 5.6.8
1011988704
Output for 5.5.35
281516539
Output for 5.5.34
907051708
Output for 5.5.33
1030972416
Output for 5.5.32
1059180380.5
Output for 5.5.31
164406192.5
Output for 5.5.30
323592031.5
Output for 5.5.29
1069431638.5
Output for 5.5.28
155243069
Output for 5.5.27
286971898
Output for 5.5.26
928212438
Output for 5.5.25
178757881.5
Output for 5.5.24
208301102.5
Output for 5.4.45
380588792
Output for 5.4.44
67310366
Output for 5.4.43
392224574.5
Output for 5.4.42
391765304.5
Output for 5.4.41
29056848.5
Output for 5.4.40
388927326.5
Output for 5.4.39
656030016.5
Output for 5.4.38
666594261.5
Output for 5.4.37
1022894133.5
Output for 5.4.36
411226878.5
Output for 5.4.35
147773442
Output for 5.4.34
922060937.5
Output for 5.4.32
508179415
Output for 5.4.31
1063490210.5
Output for 5.4.30
467301786
Output for 5.4.29
581621174.5
Output for 5.4.28
640701351.5
Output for 5.4.27
159069243.5
Output for 5.4.26
548071269
Output for 5.4.25
219119647.5
Output for 5.4.24
520639998
Output for 5.4.23
84487016.5
Output for 5.4.22
597254257.5
Output for 5.4.21
458879395.5
Output for 5.4.20
984772558
Output for 5.4.19
157368432.5
Output for 5.4.18
847532390
Output for 5.4.17
504988772
Output for 5.4.16
291227865
Output for 5.4.15
283891573.5
Output for 5.4.14
351354947.5
Output for 5.4.13
563233363
Output for 5.4.12
818224314
Output for 5.4.11
368933114.5
Output for 5.4.10
62180940
Output for 5.4.9
700149082
Output for 5.4.8
1020076842
Output for 5.4.7
511705219
Output for 5.4.6
744058395.5
Output for 5.4.5
401147966.5
Output for 5.4.4
368962576
Output for 5.4.3
495544168
Output for 5.4.2
1041696474.5
Output for 5.4.1
720003771
Output for 5.4.0
554924837
Output for 5.3.29
865863559.5
Output for 5.3.28
724881762
Output for 5.3.27
933434947.5
Output for 5.3.26
710252914
Output for 5.3.25
438529357
Output for 5.3.24
1040947461.5
Output for 5.3.23
970818809
Output for 5.3.22
670014842
Output for 5.3.21
34331922
Output for 5.3.20
750398164
Output for 5.3.19
721161766.5
Output for 5.3.18
1057625729
Output for 5.3.17
763568967
Output for 5.3.16
778282090.5
Output for 5.3.15
574280661.5
Output for 5.3.14
763671907.5
Output for 5.3.13
793742839.5
Output for 5.3.12
494393982
Output for 5.3.11
785066166.5
Output for 5.3.10
181037377.5
Output for 5.3.9
142576059.5
Output for 5.3.8
72029056.5
Output for 5.3.7
539351724
Output for 5.3.6
300622482.5
Output for 5.3.5
549104258.5
Output for 5.3.4
362863450.5
Output for 5.3.3
1016089082.5
Output for 5.3.2
225446910
Output for 5.3.1
535388811.5
Output for 5.3.0
536534954.5
Output for 5.2.17
221070395
Output for 5.2.16
159041013.5
Output for 5.2.15
257412271
Output for 5.2.14
542040500
Output for 5.2.13
233000700.5
Output for 5.2.12
195774011
Output for 5.2.11
206465820
Output for 5.2.10
593765578.5
Output for 5.2.9
58679967
Output for 5.2.8
587367895
Output for 5.2.7
806762725.5
Output for 5.2.6
418991953.5
Output for 5.2.5
654653708
Output for 5.2.4
819280778
Output for 5.2.3
720671362
Output for 5.2.2
42001110
Output for 5.2.1
519861985.5
Output for 5.2.0
253501675.5
Output for 5.1.6
745084626.5
Output for 5.1.5
549843715
Output for 5.1.4
824742266.5
Output for 5.1.3
329176142.5
Output for 5.1.2
423083984
Output for 5.1.1
922307421.5
Output for 5.1.0
81706206
Output for 5.0.5
285116520
Output for 5.0.4
544646225
Output for 5.0.3
700229680
Output for 5.0.2
456244742
Output for 5.0.1
719122438.5
Output for 5.0.0
598879457
Output for 4.4.9
327603323.5
Output for 4.4.8
660170491.5
Output for 4.4.7
1072856653
Output for 4.4.6
755648591.5
Output for 4.4.5
590601681
Output for 4.4.4
296065927
Output for 4.4.3
787750908.5
Output for 4.4.2
540161452.5
Output for 4.4.1
584325442.5
Output for 4.4.0
756616630.5
Output for 4.3.11
1018552593
Output for 4.3.10
451018380
Output for 4.3.9
211521362.5
Output for 4.3.8
144016906.5
Output for 4.3.7
884630218.5
Output for 4.3.6
838595569.5
Output for 4.3.5
25524920
Output for 4.3.4
194028593.5
Output for 4.3.3
400168949.5
Output for 4.3.2
718456280
Output for 4.3.1
84781109.5
Output for 4.3.0
197612607