3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = explode(' ', microtime()); $r = substr($t[1], 4) . rand(111, 999) . substr($t[0], 2, 4); echo $r;
based on YIcWW
Output for 7.2.6
7925722130028
Output for 7.2.0
7925723020032
Output for 7.1.10
7925728290053
Output for 7.1.7
7925728070051
Output for 7.1.6
7925721260232
Output for 7.1.5
7925721800245
Output for 7.1.4
7925727320207
Output for 7.1.3
7925723360267
Output for 7.1.2
7925722030283
Output for 7.1.1
7925727470068
Output for 7.1.0
7925723670046
Output for 7.0.20
7925721700060
Output for 7.0.19
7925724430042
Output for 7.0.18
7925724390068
Output for 7.0.17
7925729350067
Output for 7.0.16
7925727060051
Output for 7.0.15
7925728010057
Output for 7.0.14
7925725060053
Output for 7.0.13
7925723810054
Output for 7.0.12
7925728620061
Output for 7.0.11
7925724530068
Output for 7.0.10
7925725920046
Output for 7.0.9
7925726530060
Output for 7.0.8
7925724300048
Output for 7.0.7
7925727450046
Output for 7.0.6
7925722840057
Output for 7.0.5
7925724950078
Output for 7.0.4
7925724570067
Output for 7.0.3
7925721310076
Output for 7.0.2
7925722010071
Output for 7.0.1
7925723930065
Output for 7.0.0
7925728090046
Output for hhvm-3.15.4
7925724972271
Output for 5.6.30
7925725480051
Output for 5.6.29
7925728350052
Output for 5.6.28
7925722010050
Output for 5.6.27
7925728080055
Output for 5.6.26
7925727620078
Output for 5.6.25
7925722830050
Output for 5.6.24
7925723250060
Output for 5.6.23
7925726390071
Output for 5.6.22
7925729690062
Output for 5.6.21
7925723700075
Output for 5.6.20
7925722090088
Output for 5.6.19
7925725160077
Output for 5.6.18
7925723960078
Output for 5.6.17
7925721250071
Output for 5.6.16
7925726040055
Output for 5.6.15
7925727820054
Output for 5.6.14
7925726320076
Output for 5.6.13
7925729660047
Output for 5.6.12
7925726610057
Output for 5.6.11
7925722350054
Output for 5.6.10
7925728190067
Output for 5.6.9
7925724760072
Output for 5.6.8
7925724770048
Output for 5.6.7
7925724390078
Output for 5.6.6
7925724210080
Output for 5.6.5
7925724380057
Output for 5.6.4
7925727750055
Output for 5.6.3
7925725860063
Output for 5.6.2
7925728510085
Output for 5.6.1
7925725910062
Output for 5.6.0
7925725030082