3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo() { return mt_rand(); } $var = foo(); echo $var."\n". $var."\n". $var;
Output for 7.2.0
1078354263 1078354263 1078354263
Output for 7.1.7
1679157967 1679157967 1679157967
Output for 7.1.6
704477844 704477844 704477844
Output for 7.1.5
193315840 193315840 193315840
Output for 7.1.0
986549239 986549239 986549239
Output for 7.0.20
11380297 11380297 11380297
Output for 7.0.14
1194737357 1194737357 1194737357
Output for 7.0.6
989014936 989014936 989014936
Output for 7.0.5
1124181265 1124181265 1124181265
Output for 7.0.4
1821976556 1821976556 1821976556
Output for 7.0.3
460779341 460779341 460779341
Output for 7.0.2
2134311633 2134311633 2134311633
Output for 7.0.1
1915732234 1915732234 1915732234
Output for 7.0.0
1607205294 1607205294 1607205294
Output for 5.6.28
1784712687 1784712687 1784712687
Output for 5.6.21
426706082 426706082 426706082
Output for 5.6.20
700851190 700851190 700851190
Output for 5.6.19
1296449249 1296449249 1296449249
Output for 5.6.18
865978679 865978679 865978679
Output for 5.6.17
1287910174 1287910174 1287910174
Output for 5.6.16
1387929909 1387929909 1387929909
Output for 5.6.15
776249708 776249708 776249708
Output for 5.6.14
1245607126 1245607126 1245607126
Output for 5.6.13
1422165086 1422165086 1422165086
Output for 5.6.12
1226533532 1226533532 1226533532
Output for 5.6.11
1322889861 1322889861 1322889861
Output for 5.6.10
126470293 126470293 126470293
Output for 5.6.9
1071038466 1071038466 1071038466
Output for 5.6.8
1245117153 1245117153 1245117153
Output for 5.6.7
627381976 627381976 627381976
Output for 5.5.35
182984181 182984181 182984181
Output for 5.5.34
48004009 48004009 48004009
Output for 5.5.33
1215484582 1215484582 1215484582
Output for 5.5.32
273715398 273715398 273715398
Output for 5.5.31
1853009690 1853009690 1853009690
Output for 5.5.30
1442242668 1442242668 1442242668
Output for 5.5.29
1407560671 1407560671 1407560671
Output for 5.5.28
2054982706 2054982706 2054982706
Output for 5.5.27
514281482 514281482 514281482
Output for 5.5.26
1702029118 1702029118 1702029118
Output for 5.5.25
229468842 229468842 229468842
Output for 5.5.24
750851843 750851843 750851843
Output for 5.4.45
1135253297 1135253297 1135253297
Output for 5.4.44
1028416292 1028416292 1028416292
Output for 5.4.43
414043000 414043000 414043000
Output for 5.4.42
1568072417 1568072417 1568072417
Output for 5.4.41
2047546535 2047546535 2047546535
Output for 5.4.40
2013434587 2013434587 2013434587
Output for 5.4.39
560647222 560647222 560647222
Output for 5.4.38
810936579 810936579 810936579
Output for 5.4.37
368762170 368762170 368762170
Output for 5.4.36
636869212 636869212 636869212
Output for 5.4.35
1614388201 1614388201 1614388201
Output for 5.4.34
1624100991 1624100991 1624100991
Output for 5.4.32
1069210621 1069210621 1069210621
Output for 5.4.31
1875299098 1875299098 1875299098
Output for 5.4.30
653337758 653337758 653337758
Output for 5.4.29
2017415995 2017415995 2017415995
Output for 5.4.28
1897214095 1897214095 1897214095
Output for 5.4.27
794112163 794112163 794112163
Output for 5.4.26
368492717 368492717 368492717
Output for 5.4.25
1034544831 1034544831 1034544831
Output for 5.4.24
313813933 313813933 313813933
Output for 5.4.23
1822833945 1822833945 1822833945
Output for 5.4.22
204749625 204749625 204749625
Output for 5.4.21
868052362 868052362 868052362
Output for 5.4.20
604048383 604048383 604048383
Output for 5.4.19
516752604 516752604 516752604
Output for 5.4.18
1292356615 1292356615 1292356615
Output for 5.4.17
1077340651 1077340651 1077340651
Output for 5.4.16
1658615936 1658615936 1658615936
Output for 5.4.15
1025055727 1025055727 1025055727
Output for 5.4.14
709908547 709908547 709908547
Output for 5.4.13
1982287326 1982287326 1982287326
Output for 5.4.12
941639385 941639385 941639385
Output for 5.4.11
1838140819 1838140819 1838140819
Output for 5.4.10
742926248 742926248 742926248
Output for 5.4.9
1235175927 1235175927 1235175927
Output for 5.4.8
1953033264 1953033264 1953033264
Output for 5.4.7
569188105 569188105 569188105
Output for 5.4.6
724925628 724925628 724925628
Output for 5.4.5
169629725 169629725 169629725
Output for 5.4.4
1177082774 1177082774 1177082774
Output for 5.4.3
952284012 952284012 952284012
Output for 5.4.2
541128830 541128830 541128830
Output for 5.4.1
1901084954 1901084954 1901084954
Output for 5.4.0
1384376907 1384376907 1384376907
Output for 5.3.29
2084166996 2084166996 2084166996
Output for 5.3.28
129059959 129059959 129059959
Output for 5.3.27
734159092 734159092 734159092
Output for 5.3.26
1960519568 1960519568 1960519568
Output for 5.3.25
600480795 600480795 600480795
Output for 5.3.24
1894547453 1894547453 1894547453
Output for 5.3.23
436179626 436179626 436179626
Output for 5.3.22
1853603858 1853603858 1853603858
Output for 5.3.21
829273328 829273328 829273328
Output for 5.3.20
108082395 108082395 108082395
Output for 5.3.19
1391992846 1391992846 1391992846
Output for 5.3.18
988252617 988252617 988252617
Output for 5.3.17
1014906332 1014906332 1014906332
Output for 5.3.16
760287059 760287059 760287059
Output for 5.3.15
292100594 292100594 292100594
Output for 5.3.14
2052708761 2052708761 2052708761
Output for 5.3.13
644068775 644068775 644068775
Output for 5.3.12
2019716093 2019716093 2019716093
Output for 5.3.11
1862549740 1862549740 1862549740
Output for 5.3.10
367331222 367331222 367331222
Output for 5.3.9
1741328928 1741328928 1741328928
Output for 5.3.8
1854467181 1854467181 1854467181
Output for 5.3.7
323675119 323675119 323675119
Output for 5.3.6
1752848803 1752848803 1752848803
Output for 5.3.5
1499556713 1499556713 1499556713
Output for 5.3.4
1016859107 1016859107 1016859107
Output for 5.3.3
295233779 295233779 295233779
Output for 5.3.2
97736493 97736493 97736493
Output for 5.3.1
2117037302 2117037302 2117037302
Output for 5.3.0
1618526257 1618526257 1618526257
Output for 5.2.17
1693059202 1693059202 1693059202
Output for 5.2.16
2137092151 2137092151 2137092151
Output for 5.2.15
1916492545 1916492545 1916492545
Output for 5.2.14
661230283 661230283 661230283
Output for 5.2.13
264372013 264372013 264372013
Output for 5.2.12
102685651 102685651 102685651
Output for 5.2.11
1550341489 1550341489 1550341489
Output for 5.2.10
736773932 736773932 736773932
Output for 5.2.9
1297917869 1297917869 1297917869
Output for 5.2.8
1325621223 1325621223 1325621223
Output for 5.2.7
956797139 956797139 956797139
Output for 5.2.6
1334329222 1334329222 1334329222
Output for 5.2.5
1299061401 1299061401 1299061401
Output for 5.2.4
580481964 580481964 580481964
Output for 5.2.3
433193114 433193114 433193114
Output for 5.2.2
790422799 790422799 790422799
Output for 5.2.1
170756340 170756340 170756340
Output for 5.2.0
632639839 632639839 632639839
Output for 5.1.6
542741018 542741018 542741018
Output for 5.1.5
1004793138 1004793138 1004793138
Output for 5.1.4
1017023318 1017023318 1017023318
Output for 5.1.3
1501391239 1501391239 1501391239
Output for 5.1.2
78296332 78296332 78296332
Output for 5.1.1
1968532639 1968532639 1968532639
Output for 5.1.0
1983324442 1983324442 1983324442
Output for 5.0.5
1921190634 1921190634 1921190634
Output for 5.0.4
874677401 874677401 874677401
Output for 5.0.3
1006699099 1006699099 1006699099
Output for 5.0.2
2101637881 2101637881 2101637881
Output for 5.0.1
471366200 471366200 471366200
Output for 5.0.0
1136133980 1136133980 1136133980
Output for 4.4.9
594256344 594256344 594256344
Output for 4.4.8
191958243 191958243 191958243
Output for 4.4.7
144233210 144233210 144233210
Output for 4.4.6
578083929 578083929 578083929
Output for 4.4.5
1575269087 1575269087 1575269087
Output for 4.4.4
494385258 494385258 494385258
Output for 4.4.3
789263525 789263525 789263525
Output for 4.4.2
1045281423 1045281423 1045281423
Output for 4.4.1
689855926 689855926 689855926
Output for 4.4.0
1472672270 1472672270 1472672270
Output for 4.3.11
1771429120 1771429120 1771429120
Output for 4.3.10
98991009 98991009 98991009
Output for 4.3.9
651607245 651607245 651607245
Output for 4.3.8
1761389332 1761389332 1761389332
Output for 4.3.7
2137860275 2137860275 2137860275
Output for 4.3.6
122463896 122463896 122463896
Output for 4.3.5
1282823721 1282823721 1282823721
Output for 4.3.4
2075820074 2075820074 2075820074
Output for 4.3.3
2014234710 2014234710 2014234710
Output for 4.3.2
1718575670 1718575670 1718575670
Output for 4.3.1
267355411 267355411 267355411
Output for 4.3.0
799331352 799331352 799331352