3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $random_number = rand(10, 1000); echo $random_number;
Output for 5.4.7, 7.1.0
137
Output for 5.2.17, 7.0.14
55
Output for 4.4.5, 7.0.6
372
Output for 5.2.13, 7.0.5
12
Output for 7.0.4
68
Output for 7.0.3
321
Output for 7.0.2
439
Output for 7.0.1
995
Output for 7.0.0
760
Output for hhvm-3.12.0
432
Output for hhvm-3.10.0
229
Output for 5.2.2, 5.6.28
538
Output for 5.6.21
551
Output for 5.6.20
905
Output for 5.6.19
199
Output for 5.6.18
880
Output for 5.5.33, 5.6.17
249
Output for 5.6.16
781
Output for 5.6.15
676
Output for 5.4.34, 5.6.14
536
Output for 4.3.7, 5.6.13
637
Output for 5.6.12
672
Output for 5.6.11
567
Output for 5.6.10
56
Output for 5.6.9
600
Output for 5.6.8
110
Output for 5.6.7
228
Output for 5.5.35
157
Output for 5.5.34
102
Output for 5.5.32
456
Output for 5.5.31
33
Output for 5.5.30
878
Output for 5.5.29
130
Output for 5.5.28
329
Output for 5.5.27
17
Output for 5.5.26
128
Output for 5.5.25
348
Output for 5.2.15, 5.5.24
482
Output for 5.4.45
15
Output for 5.4.44
165
Output for 5.2.5, 5.4.43
421
Output for 5.4.42
798
Output for 5.4.41
444
Output for 5.4.40
58
Output for 5.4.39
730
Output for 5.4.38
658
Output for 5.4.37
493
Output for 5.4.36
393
Output for 5.4.35
354
Output for 5.4.32
124
Output for 5.4.31
775
Output for 5.4.30
687
Output for 5.4.29
953
Output for 5.4.28
686
Output for 5.4.27
597
Output for 5.3.3, 5.4.26
935
Output for 5.4.25
174
Output for 5.4.24
959
Output for 5.4.23
40
Output for 5.4.22
406
Output for 5.4.21
154
Output for 5.4.20
330
Output for 5.4.19
349
Output for 4.4.0, 5.4.18
980
Output for 5.3.10, 5.4.17
755
Output for 5.4.16
981
Output for 5.4.15
838
Output for 5.4.14
909
Output for 5.4.13
191
Output for 5.4.12
827
Output for 5.4.11
389
Output for 5.4.10
925
Output for 5.4.9
499
Output for 5.4.8
427
Output for 5.4.6
598
Output for 5.4.5
991
Output for 5.4.4
820
Output for 5.4.3
408
Output for 5.4.2
750
Output for 5.3.4, 5.4.1
344
Output for 5.2.14, 5.4.0
517
Output for 5.3.29
692
Output for 5.3.28
913
Output for 5.3.27
639
Output for 5.3.26
433
Output for 5.3.25
803
Output for 5.3.24
144
Output for 5.3.23
138
Output for 5.3.22
862
Output for 5.3.21
91
Output for 5.3.20
509
Output for 5.3.19
402
Output for 5.3.18
407
Output for 5.3.17
970
Output for 5.3.16
724
Output for 5.3.15
652
Output for 5.3.14
963
Output for 5.3.13
67
Output for 5.3.12
504
Output for 5.3.11
441
Output for 5.3.9
369
Output for 5.3.8
967
Output for 5.3.7
701
Output for 5.3.6
158
Output for 5.3.5
816
Output for 5.3.2
314
Output for 5.0.0, 5.3.1
924
Output for 5.3.0
915
Output for 5.2.16
337
Output for 5.2.12
663
Output for 5.2.11
490
Output for 5.2.10
14
Output for 5.2.9
919
Output for 5.2.8
457
Output for 5.2.7
284
Output for 5.2.6
858
Output for 5.2.4
107
Output for 5.2.3
145
Output for 5.2.1
573
Output for 5.2.0
649
Output for 5.1.6
867
Output for 5.1.5
634
Output for 5.1.4
210
Output for 5.1.3
238
Output for 5.1.2
574
Output for 5.1.1
131
Output for 5.1.0
734
Output for 5.0.5
84
Output for 5.0.4
655
Output for 5.0.3
18
Output for 4.4.1, 5.0.2
20
Output for 5.0.1
939
Output for 4.4.9
70
Output for 4.4.8
629
Output for 4.4.7
11
Output for 4.4.6
96
Output for 4.4.4
745
Output for 4.4.3
774
Output for 4.4.2
568
Output for 4.3.11
648
Output for 4.3.10
298
Output for 4.3.9
43
Output for 4.3.8
299
Output for 4.3.6
30
Output for 4.3.5
704
Output for 4.3.4
657
Output for 4.3.3
891
Output for 4.3.2
577
Output for 4.3.1
32
Output for 4.3.0
59