3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($msec, $sec) = explode(' ', microtime()); echo $msec . ' '. $sec; echo str_pad(round($msec*1000, 0), 3, '0');
Output for 7.1.0
0.00629300 1389708864600
Output for 7.0.14
0.00375600 1389708864400
Output for 7.0.11
0.00357700 1389708864400
Output for 7.0.10
0.00271400 1389708864300
Output for 7.0.9
0.00331000 1389708864300
Output for 7.0.8
0.00306500 1389708864300
Output for 7.0.7
0.00331300 1389708864300
Output for 7.0.6
0.00341500 1389708864300
Output for 7.0.5
0.00289800 1389708864300
Output for 7.0.4
0.00272700 1389708864300
Output for 7.0.3
0.02614700 1389708864260
Output for 7.0.2
0.00310900 1389708864300
Output for 7.0.1
0.00267400 1389708864300
Output for 7.0.0
0.00599500 1389708864600
Output for 5.6.28
0.00449700 1389708864400
Output for 5.6.26
0.00530200 1389708864500
Output for 5.6.25
0.00322300 1389708864300
Output for 5.6.24
0.00390500 1389708864400
Output for 5.6.23
0.00569500 1389708864600
Output for 5.6.22
0.00397000 1389708864400
Output for 5.6.21
0.00411500 1389708864400
Output for 5.6.20
0.00516000 1389708864500
Output for 5.6.19
0.00432400 1389708864400
Output for 5.6.18
0.00366300 1389708864400
Output for 5.6.17
0.00322600 1389708864300
Output for 5.6.16
0.00481100 1389708864500
Output for 5.6.15
0.00311100 1389708864300
Output for 5.6.14
0.00329200 1389708864300
Output for 5.6.13
0.00328300 1389708864300
Output for 5.6.12
0.00647400 1389708864600
Output for 5.6.11
0.00453300 1389708864500
Output for 5.6.10
0.00294100 1389708864300
Output for 5.6.9
0.00311400 1389708864300
Output for 5.6.8
0.00662300 1389708864700
Output for 5.6.7
0.00300700 1389708864300
Output for 5.6.6
0.00348800 1389708864300
Output for 5.6.5
0.00438600 1389708864400
Output for 5.6.4
0.00292000 1389708864300
Output for 5.6.3
0.00706300 1389708864700
Output for 5.6.2
0.00354400 1389708864400
Output for 5.6.1
0.00376500 1389708864400
Output for 5.6.0
0.00398700 1389708864400
Output for 5.5.38
0.00298200 1389708864300
Output for 5.5.37
0.00445800 1389708864400
Output for 5.5.36
0.00464200 1389708864500
Output for 5.5.35
0.00251100 1389708864300
Output for 5.5.34
0.03290900 1389708864330
Output for 5.5.33
0.00309300 1389708864300
Output for 5.5.32
0.00380400 1389708864400
Output for 5.5.31
0.00303900 1389708864300
Output for 5.5.30
0.00424400 1389708864400
Output for 5.5.29
0.00304900 1389708864300
Output for 5.5.28
0.00414700 1389708864400
Output for 5.5.27
0.00294700 1389708864300
Output for 5.5.26
0.00388100 1389708864400
Output for 5.5.25
0.00313300 1389708864300
Output for 5.5.24
0.01553100 1389708864160
Output for 5.5.23
0.00399500 1389708864400
Output for 5.5.22
0.00307000 1389708864300
Output for 5.5.21
0.00631500 1389708864600
Output for 5.5.20
0.00713500 1389708864700
Output for 5.5.19
0.00391400 1389708864400
Output for 5.5.18
0.00548500 1389708864500
Output for 5.5.16
0.00505400 1389708864500
Output for 5.5.15
0.00333900 1389708864300
Output for 5.5.14
0.00393300 1389708864400
Output for 5.5.13
0.00395100 1389708864400
Output for 5.5.12
0.00364500 1389708864400
Output for 5.5.11
0.00529100 1389708864500
Output for 5.5.10
0.00335700 1389708864300
Output for 5.5.9
0.00458000 1389708864500
Output for 5.5.8
0.00498700 1389708864500
Output for 5.5.7
0.00456200 1389708864500
Output for 5.5.6
0.00443200 1389708864400
Output for 5.5.5
0.00669400 1389708864700
Output for 5.5.4
0.00504400 1389708864500
Output for 5.5.3
0.00370900 1389708864400
Output for 5.5.2
0.00470900 1389708864500
Output for 5.5.1
0.00280700 1389708864300
Output for 5.5.0
0.00403200 1389708864400
Output for 5.4.45
0.00260700 1389708864300
Output for 5.4.44
0.00360400 1389708864400
Output for 5.4.43
0.00322200 1389708864300
Output for 5.4.42
0.00274900 1389708864300
Output for 5.4.41
0.00327300 1389708864300
Output for 5.4.40
0.00262200 1389708864300
Output for 5.4.39
0.00310500 1389708864300
Output for 5.4.38
0.00238300 1389708864200
Output for 5.4.37
0.00256600 1389708864300
Output for 5.4.36
0.00249700 1389708864200
Output for 5.4.35
0.00237100 1389708864200
Output for 5.4.34
0.00300000 1389708864300
Output for 5.4.32
0.00478800 1389708864500
Output for 5.4.31
0.00339700 1389708864300
Output for 5.4.30
0.00271800 1389708864300
Output for 5.4.29
0.01315200 1389708864130
Output for 5.4.28
0.00333500 1389708864300
Output for 5.4.27
0.00303500 1389708864300
Output for 5.4.26
0.00394600 1389708864400
Output for 5.4.25
0.00387600 1389708864400
Output for 5.4.24
0.00344900 1389708864300
Output for 5.4.23
0.00334700 1389708864300
Output for 5.4.22
0.00417300 1389708864400
Output for 5.4.21
0.00373100 1389708864400
Output for 5.4.20
0.00404800 1389708864400
Output for 5.4.19
0.00321500 1389708864300
Output for 5.4.18
0.00387500 1389708864400
Output for 5.4.17
0.00340400 1389708864300
Output for 5.4.16
0.00199900 1389708864200
Output for 5.4.15
0.00241400 1389708864200
Output for 5.4.14
0.00205500 1389708864200
Output for 5.4.13
0.00138900 1389708864100
Output for 5.4.12
0.00203900 1389708864200
Output for 5.4.11
0.00129600 1389708864100
Output for 5.4.10
0.00160400 1389708864200
Output for 5.4.9
0.00204500 1389708864200
Output for 5.4.8
0.00132000 1389708864100
Output for 5.4.7
0.00215000 1389708864200
Output for 5.4.6
0.00203000 1389708864200
Output for 5.4.5
0.00230800 1389708864200
Output for 5.4.4
0.00221300 1389708864200
Output for 5.4.3
0.00218000 1389708864200
Output for 5.4.2
0.00230000 1389708864200
Output for 5.4.1
0.00241100 1389708864200
Output for 5.4.0
0.00215400 1389708864200
Output for 5.3.29
0.00192600 1389708864200
Output for 5.3.28
0.00226600 1389708864200
Output for 5.3.27
0.00128900 1389708864100
Output for 5.3.26
0.00132600 1389708864100
Output for 5.3.25
0.00188700 1389708864200
Output for 5.3.24
0.00143500 1389708864100
Output for 5.3.23
0.00140600 1389708864100
Output for 5.3.22
0.00162300 1389708864200
Output for 5.3.21
0.00177400 1389708864200
Output for 5.3.20
0.00209000 1389708864200
Output for 5.3.19
0.00209900 1389708864200
Output for 5.3.18
0.00211600 1389708864200
Output for 5.3.17
0.00182400 1389708864200
Output for 5.3.16
0.00200000 1389708864200
Output for 5.3.15
0.00210600 1389708864200
Output for 5.3.14
0.00196200 1389708864200
Output for 5.3.13
0.00216500 1389708864200
Output for 5.3.12
0.00223200 1389708864200
Output for 5.3.11
0.00203800 1389708864200
Output for 5.3.10
0.00201600 1389708864200
Output for 5.3.9
0.00236600 1389708864200
Output for 5.3.8
0.00218100 1389708864200
Output for 5.3.7
0.00227500 1389708864200
Output for 5.3.6
0.00237700 1389708864200
Output for 5.3.5
0.00198400 1389708864200
Output for 5.3.4
0.00217700 1389708864200
Output for 5.3.3
0.00192800 1389708864200
Output for 5.3.2
0.00191500 1389708864200
Output for 5.3.1
0.00174000 1389708864200
Output for 5.3.0
0.00171500 1389708864200
Output for 5.2.17
0.00185100 1389708864200
Output for 5.2.16
0.00142800 1389708864100
Output for 5.2.15
0.00107600 1389708864100
Output for 5.2.14
0.00144400 1389708864100
Output for 5.2.13
0.00167900 1389708864200
Output for 5.2.12
0.00166000 1389708864200
Output for 5.1.5, 5.2.11
0.00122000 1389708864100
Output for 5.2.10
0.00112600 1389708864100
Output for 5.2.9
0.00129300 1389708864100
Output for 5.2.8
0.00103400 1389708864100
Output for 5.2.7
0.00122600 1389708864100
Output for 5.2.6
0.00154300 1389708864200
Output for 5.2.5
0.00111600 1389708864100
Output for 5.2.4
0.00110000 1389708864100
Output for 5.2.3
0.00170600 1389708864200
Output for 5.2.2
0.00149300 1389708864100
Output for 5.2.1
0.00125000 1389708864100
Output for 5.2.0
0.00144300 1389708864100
Output for 5.1.6
0.00105300 1389708864100
Output for 5.1.4
0.00157800 1389708864200
Output for 5.1.3
0.00090700 1389708864100
Output for 5.1.2
0.00113300 1389708864100
Output for 5.1.1
0.00082300 1389708864100
Output for 5.1.0
0.00113100 1389708864100
Output for 5.0.5
0.00035400 1389708864000
Output for 5.0.4
0.00071600 1389708864100
Output for 5.0.3
0.00055800 1389708864100
Output for 5.0.2
0.00052200 1389708864100
Output for 5.0.1
0.00046100 1389708864000
Output for 5.0.0
0.00045000 1389708864000
Output for 4.3.7, 4.4.9
0.00006700 1389708864000
Output for 4.4.8
0.00015300 1389708864000
Output for 4.4.7
0.00005700 1389708864000
Output for 4.4.6
0.00008300 1389708864000
Output for 4.4.5
0.00007200 1389708864000
Output for 4.4.4
0.00005500 1389708864000
Output for 4.4.3
0.00006400 1389708864000
Output for 4.3.1, 4.4.2
0.00006100 1389708864000
Output for 4.4.1
0.00005400 1389708864000
Output for 4.4.0
0.00006600 1389708864000
Output for 4.3.11
0.00005600 1389708864000
Output for 4.3.10
0.00011700 1389708864000
Output for 4.3.9
0.00008400 1389708864000
Output for 4.3.4, 4.3.8
0.00007000 1389708864000
Output for 4.3.6
0.00009200 1389708864000
Output for 4.3.5
0.00007300 1389708864000
Output for 4.3.3
0.00006800 1389708864000
Output for 4.3.2
0.00006200 1389708864000
Output for 4.3.0
0.00009300 1389708864000