3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $timer = microtime(1); ob_start(); for ($i=1;$i<=1000000;$i++) echo 'a','a','a','a'; ob_clean(); $timer = round(microtime(1) - $timer, 3); echo ', took: '.$timer. ' seconds'.PHP_EOL;
Output for 5.5.29, 7.1.0
, took: 0.151 seconds
Output for 7.0.14
, took: 0.142 seconds
Output for 5.3.29, 7.0.6
, took: 0.105 seconds
Output for 7.0.5
, took: 0.124 seconds
Output for 7.0.4
, took: 0.104 seconds
Output for 7.0.2 - 7.0.3
, took: 0.111 seconds
Output for 5.3.0 - 5.3.1, 5.5.33, 5.5.35, 5.6.12, 5.6.18, 7.0.0 - 7.0.1
, took: 0.128 seconds
Output for hhvm-3.12.0
, took: 0.194 seconds
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.5.27, 5.6.14, 5.6.21
, took: 0.146 seconds
Output for 5.6.20
, took: 0.148 seconds
Output for 5.6.11, 5.6.19
, took: 0.149 seconds
Output for 5.6.17
, took: 0.162 seconds
Output for 5.6.16
, took: 0.136 seconds
Output for 5.5.24, 5.6.13, 5.6.15
, took: 0.15 seconds
Output for 5.6.10
, took: 0.145 seconds
Output for 5.6.9
, took: 0.158 seconds
Output for 5.4.31, 5.6.8
, took: 0.153 seconds
Output for 5.5.30, 5.6.7
, took: 0.13 seconds
Output for 5.5.34
, took: 0.14 seconds
Output for 5.5.32
, took: 0.138 seconds
Output for 5.5.31
, took: 0.134 seconds
Output for 5.5.28
, took: 0.133 seconds
Output for 5.5.26
, took: 0.132 seconds
Output for 5.5.25
, took: 0.139 seconds
Output for 5.3.2, 5.4.45
, took: 0.212 seconds
Output for 5.4.44
, took: 0.219 seconds
Output for 5.4.18, 5.4.43
, took: 0.242 seconds
Output for 5.4.42
, took: 0.214 seconds
Output for 5.4.41
, took: 0.217 seconds
Output for 5.4.10, 5.4.40
, took: 0.24 seconds
Output for 5.4.39
, took: 0.248 seconds
Output for 5.4.38
, took: 0.252 seconds
Output for 5.4.37
, took: 0.231 seconds
Output for 5.3.9, 5.4.36
, took: 0.237 seconds
Output for 5.4.35
, took: 0.259 seconds
Output for 5.1.0, 5.4.34
, took: 0.297 seconds
Output for 5.3.25, 5.4.32
, took: 0.154 seconds
Output for 5.4.30
, took: 0.156 seconds
Output for 5.4.29
, took: 0.161 seconds
Output for 5.4.28
, took: 0.238 seconds
Output for 5.4.27
, took: 0.246 seconds
Output for 5.3.11, 5.4.8, 5.4.26
, took: 0.224 seconds
Output for 4.3.10, 5.4.25
, took: 0.253 seconds
Output for 5.4.24
, took: 0.249 seconds
Output for 5.4.23
, took: 0.304 seconds
Output for 5.4.22
, took: 0.291 seconds
Output for 5.4.21
, took: 0.26 seconds
Output for 5.4.20
, took: 0.247 seconds
Output for 5.4.19
, took: 0.198 seconds
Output for 5.4.17
, took: 0.275 seconds
Output for 5.3.13, 5.4.16
, took: 0.284 seconds
Output for 5.4.15
, took: 0.352 seconds
Output for 5.1.6, 5.4.14
, took: 0.277 seconds
Output for 5.4.13
, took: 0.262 seconds
Output for 5.4.12
, took: 0.344 seconds
Output for 4.4.6, 5.4.11
, took: 0.367 seconds
Output for 5.4.9
, took: 0.329 seconds
Output for 5.3.19, 5.4.7
, took: 0.326 seconds
Output for 5.4.6
, took: 0.256 seconds
Output for 5.4.5
, took: 0.299 seconds
Output for 5.2.4, 5.4.4
, took: 0.257 seconds
Output for 5.4.3
, took: 0.354 seconds
Output for 5.2.17, 5.4.2
, took: 0.273 seconds
Output for 5.4.1
, took: 0.293 seconds
Output for 5.4.0
, took: 0.279 seconds
Output for 5.3.26, 5.3.28
, took: 0.164 seconds
Output for 5.3.27
, took: 0.199 seconds
Output for 5.2.16, 5.3.24
, took: 0.254 seconds
Output for 5.3.22 - 5.3.23
, took: 0.171 seconds
Output for 5.3.21
, took: 0.22 seconds
Output for 5.3.20
, took: 0.193 seconds
Output for 5.3.4, 5.3.18
, took: 0.223 seconds
Output for 5.3.17
, took: 0.172 seconds
Output for 5.3.16
, took: 0.192 seconds
Output for 5.3.12, 5.3.15
, took: 0.272 seconds
Output for 4.4.2, 5.3.14
, took: 0.213 seconds
Output for 5.3.10
, took: 0.317 seconds
Output for 5.3.8
, took: 0.227 seconds
Output for 5.3.7
, took: 0.221 seconds
Output for 5.3.6
, took: 0.313 seconds
Output for 5.3.5
, took: 0.357 seconds
Output for 5.3.3
, took: 0.268 seconds
Output for 5.2.15
, took: 0.165 seconds
Output for 5.2.14
, took: 0.226 seconds
Output for 5.2.13
, took: 0.37 seconds
Output for 5.2.12
, took: 0.372 seconds
Output for 5.2.11
, took: 0.295 seconds
Output for 5.2.10
, took: 0.409 seconds
Output for 5.2.9
, took: 0.232 seconds
Output for 5.2.8
, took: 0.407 seconds
Output for 5.2.7
, took: 0.359 seconds
Output for 5.2.6
, took: 0.25 seconds
Output for 5.2.5
, took: 0.209 seconds
Output for 5.2.3
, took: 0.399 seconds
Output for 5.2.2
, took: 0.34 seconds
Output for 5.2.1
, took: 0.218 seconds
Output for 5.2.0
, took: 0.263 seconds
Output for 5.1.5
, took: 0.423 seconds
Output for 5.0.5, 5.1.4
, took: 0.433 seconds
Output for 5.1.3
, took: 0.332 seconds
Output for 5.1.2
, took: 0.301 seconds
Output for 5.1.1
, took: 0.375 seconds
Output for 5.0.4
, took: 0.574 seconds
Output for 5.0.3
, took: 0.421 seconds
Output for 5.0.2
, took: 0.378 seconds
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.516 secondsPHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.357 secondsPHP_EOL
Output for 4.4.9
, took: -0.566 seconds
Output for 4.4.8
, took: 0.434 seconds
Output for 4.4.7
, took: -0.458 seconds
Output for 4.4.5
, took: -0.38 seconds
Output for 4.4.4
, took: 0.429 seconds
Output for 4.4.3
, took: 0.353 seconds
Output for 4.4.1
, took: -0.555 seconds
Output for 4.4.0
, took: 0.479 seconds
Output for 4.3.11
, took: -0.635 seconds
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.284 secondsPHP_EOL
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: -0.671 secondsPHP_EOL
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.549 secondsPHP_EOL
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: -0.546 secondsPHP_EOL
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.384 secondsPHP_EOL
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: -0.554 secondsPHP_EOL
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.371 secondsPHP_EOL
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.331 secondsPHP_EOL
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: -0.568 secondsPHP_EOL
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/esV0U on line 8 , took: 0.189 secondsPHP_EOL