3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $microtime1 = explode(" ", microtime()); sleep(2); $t = explode(" ", microtime()); echo "\nPage generation time: ".($t[1] - $microtime1[1] + $t[0] - $microtime1[0]);
based on cfCmf
Output for 7.2.6
Page generation time: 2.00011
Output for 7.2.0
Page generation time: 2.000076
Output for 7.1.10
Page generation time: 2.000074
Output for 5.6.10, 7.1.7
Page generation time: 2.000161
Output for 5.6.11, 7.0.3, 7.0.5, 7.1.1, 7.1.6
Page generation time: 2.00016
Output for 7.1.5
Page generation time: 2.00018
Output for 7.1.4
Page generation time: 2.000182
Output for 7.1.3
Page generation time: 2.000141
Output for 7.1.2
Page generation time: 2.000167
Output for 5.6.15, 7.1.0
Page generation time: 2.00017
Output for 7.0.19 - 7.0.20
Page generation time: 2.000168
Output for 7.0.18
Page generation time: 2.000137
Output for 7.0.17
Page generation time: 2.003367
Output for 5.6.3, 7.0.16
Page generation time: 2.000122
Output for 5.6.18, 7.0.15
Page generation time: 2.000169
Output for 7.0.14
Page generation time: 2.000142
Output for 5.6.28, 7.0.13
Page generation time: 2.000152
Output for 7.0.12
Page generation time: 2.000107
Output for 7.0.11
Page generation time: 2.000205
Output for 7.0.6, 7.0.10
Page generation time: 2.000117
Output for 7.0.9
Page generation time: 2.000126
Output for 7.0.8
Page generation time: 2.000176
Output for 7.0.7
Page generation time: 2.000162
Output for 7.0.4
Page generation time: 2.000173
Output for 7.0.2
Page generation time: 2.000149
Output for 7.0.1
Page generation time: 2.00013
Output for 7.0.0
Page generation time: 2.00025
Output for hhvm-3.15.4
Page generation time: 2.002073
Output for 5.6.30
Page generation time: 2.000106
Output for 5.6.29
Page generation time: 2.000127
Output for 5.6.27
Page generation time: 2.000148
Output for 5.6.26
Page generation time: 2.000131
Output for 5.6.25
Page generation time: 2.000185
Output for 5.6.24
Page generation time: 2.000132
Output for 5.6.23
Page generation time: 2.000153
Output for 5.6.5, 5.6.22
Page generation time: 2.000145
Output for 5.6.21
Page generation time: 2.000155
Output for 5.6.20
Page generation time: 2.000164
Output for 5.6.19
Page generation time: 2.000171
Output for 5.6.17
Page generation time: 2.000181
Output for 5.6.16
Page generation time: 2.000157
Output for 5.6.6, 5.6.14
Page generation time: 2.000139
Output for 5.6.13
Page generation time: 2.000125
Output for 5.6.9, 5.6.12
Page generation time: 2.000156
Output for 5.6.8
Page generation time: 2.000151
Output for 5.6.7
Page generation time: 2.000154
Output for 5.6.4
Page generation time: 2.000112
Output for 5.6.2
Page generation time: 2.000114
Output for 5.6.1
Page generation time: 2.000136
Output for 5.6.0
Page generation time: 2.000105