3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace test; $start = microtime(true); for($i = 0; $i < 100000; ++$i){ strlen(__LINE__); } echo microtime(true) - $start, PHP_EOL;
based on Q9YVR
Output for 7.1.0
0.0065600872039795
Output for 7.0.14
0.0066230297088623
Output for 7.0.6
0.0060038566589355
Output for 7.0.5
0.0059590339660645
Output for 7.0.4
0.0055608749389648
Output for 7.0.3
0.0041790008544922
Output for 7.0.2
0.0075061321258545
Output for 7.0.1
0.0051119327545166
Output for 7.0.0
0.0040960311889648
Output for hhvm-3.12.0
0.014952898025513
Output for hhvm-3.10.0
0.016394138336182
Output for 5.6.21
0.016386985778809
Output for 5.6.20
0.018557071685791
Output for 5.6.19
0.014941930770874
Output for 5.6.18
0.012233972549438
Output for 5.6.17
0.016280174255371
Output for 5.6.16
0.018095970153809
Output for 5.6.15
0.012315988540649
Output for 5.6.14
0.018707990646362
Output for 5.6.13
0.013997077941895
Output for 5.6.12
0.01167106628418
Output for 5.6.11
0.015436172485352
Output for 5.6.10
0.017281770706177
Output for 5.6.9
0.01453709602356
Output for 5.6.8
0.012484073638916
Output for 5.5.35
0.017841100692749
Output for 5.5.34
0.015136957168579
Output for 5.5.33
0.016741991043091
Output for 5.5.32
0.012273073196411
Output for 5.5.31
0.017250061035156
Output for 5.5.30
0.019916772842407
Output for 5.5.29
0.015589952468872
Output for 5.5.28
0.012396812438965
Output for 5.5.27
0.012814998626709
Output for 5.5.26
0.020089864730835
Output for 5.5.25
0.017054796218872
Output for 5.5.24
0.012334108352661
Output for 5.4.45
0.010158061981201
Output for 5.4.44
0.019064903259277
Output for 5.4.43
0.010271072387695
Output for 5.4.42
0.014890909194946
Output for 5.4.41
0.010540008544922
Output for 5.4.40
0.016009092330933
Output for 5.4.39
0.0099418163299561
Output for 5.4.38
0.019466876983643
Output for 5.4.37
0.028927803039551
Output for 5.4.36
0.028205871582031
Output for 5.4.35
0.022200107574463
Output for 5.4.34
0.019670009613037
Output for 5.4.32
0.013332843780518
Output for 5.4.31
0.013731956481934
Output for 5.4.30
0.014519929885864
Output for 5.4.29
0.025665998458862
Output for 5.4.28
0.020241975784302
Output for 5.4.27
0.015559911727905
Output for 5.4.26
0.025018930435181
Output for 5.4.25
0.029639959335327
Output for 5.4.24
0.014101028442383
Output for 5.4.23
0.016242980957031
Output for 5.4.22
0.022778987884521
Output for 5.4.21
0.013982057571411
Output for 5.4.20
0.025751829147339
Output for 5.4.19
0.014098882675171
Output for 5.4.18
0.015748977661133
Output for 5.4.17
0.01406717300415
Output for 5.4.16
0.013976097106934
Output for 5.4.15
0.014181137084961
Output for 5.4.14
0.013916015625
Output for 5.4.13
0.014831066131592
Output for 5.4.12
0.027164936065674
Output for 5.4.11
0.015434980392456
Output for 5.4.10
0.014734983444214
Output for 5.4.9
0.018733978271484
Output for 5.4.8
0.020069122314453
Output for 5.4.7
0.025138854980469
Output for 5.4.6
0.014559984207153
Output for 5.4.5
0.016641855239868
Output for 5.4.4
0.0152268409729
Output for 5.4.3
0.02216100692749
Output for 5.4.2
0.01559591293335
Output for 5.4.1
0.014851093292236
Output for 5.4.0
0.01485800743103
Output for 5.3.29
0.016124963760376
Output for 5.3.28
0.01628303527832
Output for 5.3.27
0.01682186126709
Output for 5.3.26
0.020166873931885
Output for 5.3.25
0.016661882400513
Output for 5.3.24
0.017973184585571
Output for 5.3.23
0.016227960586548
Output for 5.3.22
0.01897406578064
Output for 5.3.21
0.016940116882324
Output for 5.3.20
0.017336130142212
Output for 5.3.19
0.017379999160767
Output for 5.3.18
0.016213893890381
Output for 5.3.17
0.023519992828369
Output for 5.3.16
0.016917943954468
Output for 5.3.15
0.016680002212524
Output for 5.3.14
0.017223834991455
Output for 5.3.13
0.019631147384644
Output for 5.3.12
0.023252010345459
Output for 5.3.11
0.018959045410156
Output for 5.3.10
0.016273975372314
Output for 5.3.9
0.017134189605713
Output for 5.3.8
0.015983104705811
Output for 5.3.7
0.016295909881592
Output for 5.3.6
0.018925189971924
Output for 5.3.5
0.019789934158325
Output for 5.3.4
0.021273136138916
Output for 5.3.3
0.018701076507568
Output for 5.3.2
0.018454074859619
Output for 5.3.1
0.016452074050903
Output for 5.3.0
0.016062021255493
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/FEEdk on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/FEEdk on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/FEEdk on line 3
Process exited with code 255.