3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // seed with microseconds function make_seed() { echo microtime(); echo '<pre>';explode(' ', microtime()); list($usec, $sec) = explode(' ', microtime()); return (float) $sec + ((float) $usec * 100000); } mt_srand(make_seed()); $randval = mt_rand(); echo $randval;
Output for 7.1.0
0.00413400 1405923791<pre>521167135
Output for 7.0.14
0.00382800 1405923791<pre>445073480
Output for 7.0.6
0.74617900 1463858619<pre>1172068835
Output for 7.0.5
0.38866500 1459671777<pre>830376891
Output for 7.0.4
0.77335300 1457645552<pre>907825993
Output for 7.0.3
0.85339600 1458342615<pre>418845169
Output for 7.0.2
0.67192600 1458710186<pre>1135400486
Output for 7.0.1
0.71845700 1458807438<pre>1096222734
Output for 7.0.0
0.75109400 1459069731<pre>1802551304
Output for hhvm-3.12.0
0.59351300 1459470202<pre>607716776
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
0.41110400 1462202320<pre>195507475
Output for 5.6.20
0.43733800 1460273116<pre>162337138
Output for 5.6.19
0.42129000 1457415734<pre>1125959426
Output for 5.6.18
0.13980400 1458052997<pre>479535655
Output for 5.6.17
0.53018300 1458440508<pre>1397553015
Output for 5.6.16
0.11469800 1459159070<pre>1440083109
Output for 5.6.15
0.84199700 1459248453<pre>24032662
Output for 5.6.14
0.55209100 1460651443<pre>858446262
Output for 5.6.13
0.99962000 1460740359<pre>822532688
Output for 5.6.12
0.83479900 1461138115<pre>1725726584
Output for 5.6.11
0.10869400 1461506871<pre>702747598
Output for 5.6.10
0.41674700 1461600776<pre>133469350
Output for 5.6.9
0.00976000 1461793327<pre>1061580607
Output for 5.6.8
0.25011300 1461996454<pre>1038204311
Output for 5.5.35
0.27200000 1464005307<pre>444200886
Output for 5.5.34
0.65766900 1460367578<pre>1432206775
Output for 5.5.33
0.19269000 1457513269<pre>656238864
Output for 5.5.32
0.84649000 1458240254<pre>694526107
Output for 5.5.31
0.36535100 1458538357<pre>1138761137
Output for 5.5.30
0.05124200 1459514310<pre>1687654351
Output for 5.5.29
0.65063200 1460878020<pre>1752291695
Output for 5.5.28
0.10877100 1461236546<pre>53371573
Output for 5.5.27
0.75458900 1461328645<pre>1646688958
Output for 5.5.26
0.79029100 1461696917<pre>1117791888
Output for 5.5.25
0.97682400 1461896596<pre>63905249
Output for 5.5.24
0.24169800 1464094278<pre>1760672092
Output for 5.4.45
0.68722100 1453994304<pre>963696761
Output for 5.4.44
0.56651700 1453994307<pre>494454823
Output for 5.4.43
0.37080300 1453994311<pre>1154363795
Output for 5.4.42
0.95212400 1453994311<pre>1082340687
Output for 5.4.41
0.68111600 1453994313<pre>943996969
Output for 5.4.40
0.98742400 1453994316<pre>882739754
Output for 5.4.39
0.62872800 1453994319<pre>885178987
Output for 5.4.38
0.66676900 1453994320<pre>413063941
Output for 5.4.37
0.84616500 1453994322<pre>325508162
Output for 5.4.36
0.00274400 1453994324<pre>381002819
Output for 5.4.35
0.29885100 1453994326<pre>730492957
Output for 5.4.34
0.34921600 1453994327<pre>1441117926
Output for 5.4.32
0.90076400 1453994330<pre>1824881876
Output for 5.4.31
0.06209300 1453994332<pre>1996116132
Output for 5.4.30
0.84069500 1453994333<pre>1114109879
Output for 5.4.29
0.42284200 1453994334<pre>1134027306
Output for 5.4.28
0.60489300 1453994335<pre>1515871140
Output for 5.4.27
0.70631600 1453994336<pre>1591511748
Output for 5.4.26
0.89080000 1453994337<pre>997425555
Output for 5.4.25
0.06491800 1453994339<pre>41493267
Output for 5.4.24
0.10852800 1453994340<pre>545364923
Output for 5.4.23
0.18679400 1453994341<pre>1176554641
Output for 5.4.22
0.34021100 1453994343<pre>891012460
Output for 5.4.21
0.84892400 1453994343<pre>1439075621
Output for 5.4.20
0.85518500 1453994344<pre>2137185537
Output for 5.4.19
0.40758700 1453994346<pre>381473067
Output for 5.4.18
0.44176100 1453994347<pre>689610640
Output for 5.4.17
0.99811900 1453994348<pre>1106610116
Output for 5.4.16
0.52288400 1453994350<pre>844660317
Output for 5.4.15
0.07815000 1453994351<pre>787779360
Output for 5.4.14
0.75981000 1453994352<pre>719266741
Output for 5.4.13
0.35054000 1453994353<pre>813245487
Output for 5.4.12
0.52557600 1453994354<pre>1113309142
Output for 5.4.11
0.35164700 1453994356<pre>1549783077
Output for 5.4.10
0.58996900 1453994357<pre>1989409654
Output for 5.4.9
0.20980500 1453994358<pre>1075253380
Output for 5.4.8
0.75333900 1453994359<pre>48587218
Output for 5.4.7
0.35784600 1453994360<pre>1828933688
Output for 5.4.6
0.53573600 1453994360<pre>530651455
Output for 5.4.5
0.67833800 1453994361<pre>1548590158
Output for 5.4.4
0.76028800 1453994362<pre>1187996421
Output for 5.4.3
0.29684600 1453994363<pre>1161551879
Output for 5.4.2
0.90200500 1453994364<pre>1668045707
Output for 5.4.1
0.95283500 1453994365<pre>1185913215
Output for 5.4.0
0.61328200 1453994366<pre>835085132
Output for 5.3.29
0.46407200 1453994331<pre>236122454
Output for 5.3.28
0.31396400 1453994342<pre>576347193
Output for 5.3.27
0.43453200 1453994348<pre>1598224059
Output for 5.3.26
0.02012100 1453994350<pre>2086746277
Output for 5.3.25
0.64789300 1453994351<pre>2137763100
Output for 5.3.24
0.20536000 1453994352<pre>458619043
Output for 5.3.23
0.93584400 1453994353<pre>2131417041
Output for 5.3.22
0.16737900 1453994355<pre>1652520599
Output for 5.3.21
0.76271800 1453994355<pre>661048739
Output for 5.3.20
0.93249000 1453994356<pre>1566248623
Output for 5.3.19
0.74991600 1453994358<pre>341769477
Output for 5.3.18
0.25703400 1453994359<pre>1608747199
Output for 5.3.17
0.18349100 1453994360<pre>132361237
Output for 5.3.16
0.72046700 1453994360<pre>751028520
Output for 5.3.15
0.11526700 1453994361<pre>747710880
Output for 5.3.14
0.21793500 1453994362<pre>908528929
Output for 5.3.13
0.83256700 1453994363<pre>1302252337
Output for 5.3.12
0.37425200 1453994364<pre>2100553882
Output for 5.3.11
0.43137500 1453994365<pre>500208397
Output for 5.3.10
0.13479700 1453994367<pre>48418966
Output for 5.3.9
0.64918400 1453994367<pre>1261625500
Output for 5.3.8
0.14148100 1453994368<pre>1736882934
Output for 5.3.7
0.68990900 1453994368<pre>1238533484
Output for 5.3.6
0.31020300 1453994369<pre>2029234652
Output for 5.3.5
0.84974300 1453994369<pre>1820632718
Output for 5.3.4
0.58065000 1453994370<pre>712338322
Output for 5.3.3
0.97071200 1453994370<pre>736587473
Output for 5.3.2
0.10696600 1453994372<pre>1045630376
Output for 5.3.1
0.77376400 1453994373<pre>647312517
Output for 5.3.0
0.84520500 1453994374<pre>576357997
Output for 5.2.17
0.27795700 1453994370<pre>1904126193
Output for 5.2.16
0.43676300 1453994370<pre>1367113479
Output for 5.2.15
0.71788600 1453994370<pre>1093319803
Output for 5.2.14
0.52954300 1453994371<pre>40788716
Output for 5.2.13
0.60605800 1453994372<pre>1309096100
Output for 5.2.12
0.07505100 1453994373<pre>787148546
Output for 5.2.11
0.24956900 1453994374<pre>354248392
Output for 5.2.10
0.32496700 1453994375<pre>600626874
Output for 5.2.9
0.81099300 1453994375<pre>856225545
Output for 5.2.8
0.26619300 1453994376<pre>32337099
Output for 5.2.7
0.75466000 1453994376<pre>894015692
Output for 5.2.6
0.43782000 1453994377<pre>770093397
Output for 5.2.5
0.13732000 1453994378<pre>1109766241
Output for 5.2.4
0.54552200 1453994378<pre>284895335
Output for 5.2.3
0.00254200 1453994379<pre>1956275327
Output for 5.2.2
0.36548400 1453994379<pre>1274277276
Output for 5.2.1
0.58094200 1453994380<pre>245655740
Output for 5.2.0
0.98495700 1453994380<pre>894081129
Output for 5.1.6
0.38160400 1453994381<pre>1811491885
Output for 5.1.5
0.09562200 1453994382<pre>121920262
Output for 5.1.4
0.80190300 1453994382<pre>550475387
Output for 5.1.3
0.25003400 1453994383<pre>1976891912
Output for 5.1.2
0.67535700 1453994383<pre>1631177165
Output for 5.1.1
0.43226300 1453994384<pre>2094860012
Output for 5.1.0
0.88898200 1453994384<pre>1484911898
Output for 5.0.5
0.45615600 1453994385<pre>2011314902
Output for 5.0.4
0.02720500 1453994386<pre>574600594
Output for 5.0.3
0.60250900 1453994386<pre>536855713
Output for 5.0.2
0.15354600 1453994387<pre>1042758334
Output for 5.0.1
0.73523700 1453994387<pre>1042245242
Output for 5.0.0
0.03928000 1453994388<pre>1892066326
Output for 4.4.9
0.98987000 1453994376<pre>750905916
Output for 4.4.8
0.67748200 1453994377<pre>717931186
Output for 4.4.7
0.60000700 1453994379<pre>888489363
Output for 4.4.6
0.83116500 1453994379<pre>1981350207
Output for 4.4.5
0.10910000 1453994380<pre>466282204
Output for 4.4.4
0.65554400 1453994381<pre>293504833
Output for 4.4.3
0.36755100 1453994382<pre>1804710532
Output for 4.4.2
0.99634500 1453994383<pre>1328468809
Output for 4.4.1
0.18231600 1453994385<pre>1172514063
Output for 4.4.0
0.72601600 1453994385<pre>1358217874
Output for 4.3.11
0.29558200 1453994386<pre>770400632
Output for 4.3.10
0.87877300 1453994386<pre>995554140
Output for 4.3.9
0.44794600 1453994387<pre>1372727282
Output for 4.3.8
0.29207900 1453994388<pre>1214114360
Output for 4.3.7
0.54781200 1453994388<pre>2092124849
Output for 4.3.6
0.82629400 1453994388<pre>1864459367
Output for 4.3.5
0.12568100 1453994389<pre>165520804
Output for 4.3.4
0.42439700 1453994389<pre>324812397
Output for 4.3.3
0.64656400 1453994389<pre>1456887298
Output for 4.3.2
0.85980000 1453994389<pre>1245081781
Output for 4.3.1
0.08003100 1453994390<pre>1029995786
Output for 4.3.0
0.28632000 1453994390<pre>141585866