3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = explode(' ', microtime()); $r = substr($t[1], 3) . rand(111, 999) . substr($t[0], 2, 6); echo $r;
based on VrL95
Output for 7.2.6
9792606311003625
Output for 7.2.0
9792606190002826
Output for 7.1.10
9792606265003070
Output for 7.1.7
9792606478002379
Output for 7.1.6
9792606227005879
Output for 7.1.5
9792606158006667
Output for 7.1.4
9792606804006697
Output for 7.1.3
9792606671005443
Output for 7.1.2
9792606534005498
Output for 7.1.1
9792606591002757
Output for 7.1.0
9792606670002713
Output for 7.0.20
9792606799002384
Output for 7.0.19
9792606780004019
Output for 7.0.18
9792606775004275
Output for 7.0.17
9792606736003479
Output for 7.0.16
9792606422002639
Output for 7.0.15
9792606201002705
Output for 7.0.14
9792606261002564
Output for 7.0.13
9792606810003780
Output for 7.0.12
9792606122006250
Output for 7.0.11
9792606841005761
Output for 7.0.10
9792606574003958
Output for 7.0.9
9792606850002852
Output for 7.0.8
9792606794002754
Output for 7.0.7
9792606954003900
Output for 7.0.6
9792606311002594
Output for 7.0.5
9792606203002698
Output for 7.0.4
9792606933003038
Output for 7.0.3
9792606840002936
Output for 7.0.2
9792606243002992
Output for 7.0.1
9792606869002601
Output for 7.0.0
9792606213005252
Output for hhvm-3.15.4
9792606833102754
Output for 5.6.30
9792606481005705
Output for 5.6.29
9792606150002887
Output for 5.6.28
9792606606002863
Output for 5.6.27
9792606448003592
Output for 5.6.26
9792606388003133
Output for 5.6.25
9792606504002891
Output for 5.6.24
9792606920003480
Output for 5.6.23
9792606429002901
Output for 5.6.22
9792606776003362
Output for 5.6.21
9792606831004426
Output for 5.6.20
9792606600002790
Output for 5.6.19
9792606528002843
Output for 5.6.18
9792606146002702
Output for 5.6.17
9792606819004100
Output for 5.6.16
9792606995003202
Output for 5.6.15
9792606129002787
Output for 5.6.14
9792606674003108
Output for 5.6.13
9792606269003479
Output for 5.6.12
9792606201003315
Output for 5.6.11
9792606567003731
Output for 5.6.10
9792606152003076
Output for 5.6.9
9792606603002726
Output for 5.6.8
9792606214003002
Output for 5.6.7
9792606487003425
Output for 5.6.6
9792606998002808
Output for 5.6.5
9792606118002726
Output for 5.6.4
9792606683002992
Output for 5.6.3
9792606535002699
Output for 5.6.2
9792606736002870
Output for 5.6.1
9792606714005447
Output for 5.6.0
9792606320002790