3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(); ?>
Output for 7.1.0
1903877219
Output for 7.0.14
1478707141
Output for 7.0.6
16414808
Output for 7.0.5
1728045574
Output for 7.0.4
487697646
Output for 7.0.3
501613914
Output for 7.0.2
959301567
Output for 7.0.1
1502579752
Output for 7.0.0
46800414
Output for hhvm-3.12.0
1323468430
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
1700064924
Output for 5.6.21
2116884986
Output for 5.6.20
2114779700
Output for 5.6.19
1745453040
Output for 5.6.18
1952275405
Output for 5.6.17
535981035
Output for 5.6.16
67833195
Output for 5.6.15
1869789010
Output for 5.6.14
1495991702
Output for 5.6.13
1677959517
Output for 5.6.12
736036003
Output for 5.6.11
890097946
Output for 5.6.10
1529515286
Output for 5.6.9
848534028
Output for 5.6.8
1579854068
Output for 5.5.35
1409027327
Output for 5.5.34
1576236959
Output for 5.5.33
1216724505
Output for 5.5.32
1802764705
Output for 5.5.31
1965885958
Output for 5.5.30
1958829748
Output for 5.5.29
294551743
Output for 5.5.28
145671088
Output for 5.5.27
423006431
Output for 5.5.26
202749438
Output for 5.5.25
507537256
Output for 5.5.24
868840986
Output for 5.4.45
1201435566
Output for 5.4.44
76197007
Output for 5.4.43
939108145
Output for 5.4.42
1473864716
Output for 5.4.41
1234999361
Output for 5.4.40
800843558
Output for 5.4.39
489300440
Output for 5.4.38
932644228
Output for 5.4.37
1182854062
Output for 5.4.36
2067238640
Output for 5.4.35
9947803
Output for 5.4.34
1895274516
Output for 5.4.32
1460421124
Output for 5.4.31
1335923296
Output for 5.4.30
1115429916
Output for 5.4.29
1075760948
Output for 5.4.28
1803848390
Output for 5.4.27
1815845836
Output for 5.4.26
1856128666
Output for 5.4.25
1985079527
Output for 5.4.24
548567794
Output for 5.4.23
1404990928
Output for 5.4.22
359718766
Output for 5.4.21
1802535931
Output for 5.4.20
415996014
Output for 5.4.19
1004151722
Output for 5.4.18
1797446774
Output for 5.4.17
440245524
Output for 5.4.16
1880183682
Output for 5.4.15
772090248
Output for 5.4.14
771537773
Output for 5.4.13
450050995
Output for 5.4.12
393658030
Output for 5.4.11
549062775
Output for 5.4.10
938690004
Output for 5.4.9
167987403
Output for 5.4.8
1593623364
Output for 5.4.7
995796397
Output for 5.4.6
1383848602
Output for 5.4.5
5422730
Output for 5.4.4
1289219056
Output for 5.4.3
1457406891
Output for 5.4.2
890474750
Output for 5.4.1
1656263821
Output for 5.4.0
1823194833
Output for 5.3.29
1104176395
Output for 5.3.28
941710342
Output for 5.3.27
1259679386
Output for 5.3.26
595653316
Output for 5.3.25
1832753406
Output for 5.3.24
230688773
Output for 5.3.23
15726462
Output for 5.3.22
30603692
Output for 5.3.21
1296217223
Output for 5.3.20
1899704157
Output for 5.3.19
2127257176
Output for 5.3.18
1670445128
Output for 5.3.17
11725366
Output for 5.3.16
2087456985
Output for 5.3.15
1143122969
Output for 5.3.14
362075206
Output for 5.3.13
1663189556
Output for 5.3.12
961099181
Output for 5.3.11
799231013
Output for 5.3.10
725790539
Output for 5.3.9
1217513224
Output for 5.3.8
1528415081
Output for 5.3.7
2059342282
Output for 5.3.6
1701645164
Output for 5.3.5
526786120
Output for 5.3.4
1010937951
Output for 5.3.3
2039687227
Output for 5.3.2
1082746493
Output for 5.3.1
1413902084
Output for 5.3.0
274432525
Output for 5.2.17
372625436
Output for 5.2.16
307726864
Output for 5.2.15
455740657
Output for 5.2.14
1624280598
Output for 5.2.13
1647311070
Output for 5.2.12
84742721
Output for 5.2.11
1306180547
Output for 5.2.10
1733765307
Output for 5.2.9
120521058
Output for 5.2.8
554344307
Output for 5.2.7
1503627158
Output for 5.2.6
1599081858
Output for 5.2.5
993369762
Output for 5.2.4
1072798765
Output for 5.2.3
1618538624
Output for 5.2.2
79514916
Output for 5.2.1
2076052825
Output for 5.2.0
309523905
Output for 5.1.6
1784177471
Output for 5.1.5
805670999
Output for 5.1.4
1589812042
Output for 5.1.3
738226651
Output for 5.1.2
139956789
Output for 5.1.1
483757632
Output for 5.1.0
73908819
Output for 5.0.5
37114839
Output for 5.0.4
341238095
Output for 5.0.3
1517047891
Output for 5.0.2
507053610
Output for 5.0.1
997408314
Output for 5.0.0
1435040940
Output for 4.4.9
864659643
Output for 4.4.8
845704648
Output for 4.4.7
1951319630
Output for 4.4.6
621388108
Output for 4.4.5
337885918
Output for 4.4.4
1031583263
Output for 4.4.3
533457522
Output for 4.4.2
2117412699
Output for 4.4.1
1588441531
Output for 4.4.0
1070259158
Output for 4.3.11
962216880
Output for 4.3.10
136686070
Output for 4.3.9
1401172191
Output for 4.3.8
1343157772
Output for 4.3.7
53754855
Output for 4.3.6
1556742896
Output for 4.3.5
1108607361
Output for 4.3.4
1893296101
Output for 4.3.3
1468839776
Output for 4.3.2
945562586
Output for 4.3.1
11705524
Output for 4.3.0
2042932167