3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // seed with microseconds function make_seed() { $time = microtime(); echo $time; echo '<pre>';print_r(explode(' ', $time)); list($usec, $sec) = explode(' ', $time); return (float) $sec + ((float) $usec * 100000); } //mt_srand(make_seed()); $randval = mt_rand(); echo $randval;
Output for 7.1.0
491235225
Output for 7.0.14
1217081897
Output for 7.0.6
762245417
Output for 7.0.5
765521554
Output for 7.0.4
186684003
Output for 7.0.3
735024609
Output for 7.0.2
2061883443
Output for 7.0.1
1965020611
Output for 7.0.0
1365633145
Output for hhvm-3.12.0
630208665
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
4910665
Output for 5.6.21
1934543600
Output for 5.6.20
232199321
Output for 5.6.19
1625193041
Output for 5.6.18
1505039804
Output for 5.6.17
1988627343
Output for 5.6.16
1712153697
Output for 5.6.15
1050057252
Output for 5.6.14
10329908
Output for 5.6.13
818623414
Output for 5.6.12
1352850626
Output for 5.6.11
696969632
Output for 5.6.10
1358114735
Output for 5.6.9
581020777
Output for 5.6.8
218914937
Output for 5.6.7
1455693903
Output for 5.5.35
950571280
Output for 5.5.34
370824934
Output for 5.5.33
283418913
Output for 5.5.32
355778135
Output for 5.5.31
875283812
Output for 5.5.30
1658892016
Output for 5.5.29
2061295502
Output for 5.5.28
842425424
Output for 5.5.27
164343033
Output for 5.5.26
1559231901
Output for 5.5.25
2084206215
Output for 5.5.24
1403190093
Output for 5.4.45
1296769811
Output for 5.4.44
1209313406
Output for 5.4.43
907755311
Output for 5.4.42
1316769662
Output for 5.4.41
1909152926
Output for 5.4.40
278174566
Output for 5.4.39
59350780
Output for 5.4.38
558590098
Output for 5.4.37
1558728750
Output for 5.4.36
22386573
Output for 5.4.35
122013238
Output for 5.4.34
1427111894
Output for 5.4.32
212206649
Output for 5.4.31
1014943464
Output for 5.4.30
1999763194
Output for 5.4.29
1335284539
Output for 5.4.28
717797391
Output for 5.4.27
920286736
Output for 5.4.26
496939640
Output for 5.4.25
1793578174
Output for 5.4.24
430475972
Output for 5.4.23
1575982548
Output for 5.4.22
1739959982
Output for 5.4.21
777818309
Output for 5.4.20
2054403894
Output for 5.4.19
2131176896
Output for 5.4.18
1197499030
Output for 5.4.17
928569997
Output for 5.4.16
586715302
Output for 5.4.15
961375597
Output for 5.4.14
1535459160
Output for 5.4.13
360103537
Output for 5.4.12
363874278
Output for 5.4.11
532513005
Output for 5.4.10
922672379
Output for 5.4.9
833041216
Output for 5.4.8
2058190395
Output for 5.4.7
106528554
Output for 5.4.6
234919584
Output for 5.4.5
344167753
Output for 5.4.4
880671840
Output for 5.4.3
1967875383
Output for 5.4.2
744836478
Output for 5.4.1
1390427282
Output for 5.4.0
1038863192
Output for 5.3.29
801052660
Output for 5.3.28
1337630870
Output for 5.3.27
520920930
Output for 5.3.26
302693977
Output for 5.3.25
1186901629
Output for 5.3.24
1728619101
Output for 5.3.23
1093647056
Output for 5.3.22
289345306
Output for 5.3.21
1727109808
Output for 5.3.20
322283744
Output for 5.3.19
1218314416
Output for 5.3.18
1135000695
Output for 5.3.17
1874483988
Output for 5.3.16
1054301550
Output for 5.3.15
328991712
Output for 5.3.14
1999451692
Output for 5.3.13
431475107
Output for 5.3.12
675472066
Output for 5.3.11
1505557581
Output for 5.3.10
1952440839
Output for 5.3.9
402823850
Output for 5.3.8
159587376
Output for 5.3.7
403245457
Output for 5.3.6
1000889338
Output for 5.3.5
773508680
Output for 5.3.4
1767191670
Output for 5.3.3
798244233
Output for 5.3.2
848807724
Output for 5.3.1
479711821
Output for 5.3.0
1476811786
Output for 5.2.17
1796559708
Output for 5.2.16
716562775
Output for 5.2.15
1589757709
Output for 5.2.14
1571021441
Output for 5.2.13
1300287160
Output for 5.2.12
474442323
Output for 5.2.11
992573232
Output for 5.2.10
524684150
Output for 5.2.9
1719032050
Output for 5.2.8
2062976913
Output for 5.2.7
1484988165
Output for 5.2.6
1345020095
Output for 5.2.5
1974667075
Output for 5.2.4
2064115179
Output for 5.2.3
534056842
Output for 5.2.2
332501025
Output for 5.2.1
788619149
Output for 5.2.0
1167597572
Output for 5.1.6
1319684259
Output for 5.1.5
572730020
Output for 5.1.4
1239845634
Output for 5.1.3
1264860510
Output for 5.1.2
981418679
Output for 5.1.1
339884497
Output for 5.1.0
1481998703
Output for 5.0.5
425567481
Output for 5.0.4
1017371968
Output for 5.0.3
767800192
Output for 5.0.2
1647113534
Output for 5.0.1
1235567713
Output for 5.0.0
1283555018
Output for 4.4.9
483118642
Output for 4.4.8
706582392
Output for 4.4.7
146919494
Output for 4.4.6
830614691
Output for 4.4.5
1203954748
Output for 4.4.4
739704234
Output for 4.4.3
1378962872
Output for 4.4.2
242940916
Output for 4.4.1
1607073975
Output for 4.4.0
1065490151
Output for 4.3.11
68545397
Output for 4.3.10
37559079
Output for 4.3.9
1319615096
Output for 4.3.8
2102686968
Output for 4.3.7
1119442397
Output for 4.3.6
1985725172
Output for 4.3.5
1541463792
Output for 4.3.4
545573972
Output for 4.3.3
350350562
Output for 4.3.2
1539264821
Output for 4.3.1
1346696527
Output for 4.3.0
1039886361