3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); echo 'Test'; $end = microtime(true); echo (($end - $start) * 1000000);
Output for 5.5.27, 5.5.33, 5.6.8, 5.6.15, 5.6.17, 7.0.0, 7.0.14 - 7.1.0
Test15.020370483398
Output for 5.5.32, 5.6.16, 7.0.1, 7.0.6
Test14.066696166992
Output for 7.0.5
Test9.7751617431641
Output for 5.5.35, 5.6.19, 7.0.2, 7.0.4
Test12.874603271484
Output for 5.5.30, 7.0.3
Test9.0599060058594
Output for 5.2.1, 5.5.25, 5.6.28
Test18.119812011719
Output for 5.6.21
Test13.828277587891
Output for 5.6.11, 5.6.20
Test16.927719116211
Output for 5.6.18
Test14.781951904297
Output for 5.5.34, 5.6.13 - 5.6.14
Test15.974044799805
Output for 5.5.29, 5.5.31, 5.6.7, 5.6.10, 5.6.12
Test10.967254638672
Output for 5.5.24, 5.6.9
Test13.113021850586
Output for 5.5.28
Test11.205673217773
Output for 5.5.26
Test11.920928955078
Output for 5.4.45
Test97.990036010742
Output for 5.4.44
Test92.983245849609
Output for 5.3.10, 5.4.43
Test113.01040649414
Output for 5.4.42
Test108.00361633301
Output for 5.4.41
Test87.976455688477
Output for 5.4.40
Test46.968460083008
Output for 5.4.20, 5.4.39
Test46.014785766602
Output for 5.4.38
Test98.943710327148
Output for 5.4.37
Test17.881393432617
Output for 5.4.36
Test41.961669921875
Output for 5.4.35
Test33.140182495117
Output for 5.4.34
Test47.922134399414
Output for 5.2.10, 5.3.7, 5.3.9, 5.4.31 - 5.4.32
Test52.928924560547
Output for 5.4.30
Test20.027160644531
Output for 5.3.0, 5.3.18, 5.4.29
Test66.995620727539
Output for 5.1.4 - 5.1.6, 5.2.3, 5.3.13, 5.4.6, 5.4.28
Test66.041946411133
Output for 5.3.25, 5.3.27, 5.4.27
Test51.975250244141
Output for 5.4.14, 5.4.26
Test63.896179199219
Output for 5.2.7, 5.4.23, 5.4.25
Test72.002410888672
Output for 5.4.24
Test93.936920166016
Output for 5.4.22
Test68.902969360352
Output for 5.3.4, 5.3.20, 5.3.24, 5.4.21
Test61.988830566406
Output for 5.2.4, 5.2.12, 5.3.6, 5.4.10 - 5.4.11, 5.4.19
Test55.074691772461
Output for 5.4.18
Test124.93133544922
Output for 5.0.3, 5.4.12, 5.4.17
Test54.836273193359
Output for 5.4.16
Test54.121017456055
Output for 5.3.5, 5.3.8, 5.4.15
Test62.942504882812
Output for 5.4.13
Test64.13459777832
Output for 5.3.15, 5.4.9
Test50.067901611328
Output for 5.2.6, 5.3.12, 5.3.26, 5.4.8
Test49.114227294922
Output for 5.4.7
Test55.789947509766
Output for 5.2.13, 5.4.5
Test56.028366088867
Output for 5.4.4
Test58.174133300781
Output for 5.2.11, 5.2.14, 5.3.11, 5.4.3
Test57.93571472168
Output for 5.4.2
Test31.948089599609
Output for 5.4.1
Test102.04315185547
Output for 5.2.17, 5.4.0
Test61.03515625
Output for 5.3.29
Test77.962875366211
Output for 5.3.28
Test56.982040405273
Output for 5.0.0, 5.3.23
Test17.166137695312
Output for 5.3.22
Test48.87580871582
Output for 5.3.17, 5.3.21
Test59.843063354492
Output for 5.3.19
Test70.095062255859
Output for 5.3.16
Test58.889389038086
Output for 5.0.4, 5.3.2, 5.3.14
Test67.949295043945
Output for 5.3.3
Test101.80473327637
Output for 5.3.1
Test60.081481933594
Output for 5.2.16
Test3499.9847412109
Output for 5.2.15
Test53.882598876953
Output for 5.1.1, 5.2.9
Test72.956085205078
Output for 5.2.8
Test30.040740966797
Output for 5.2.5
Test89.883804321289
Output for 5.2.2
Test96.08268737793
Output for 5.2.0
Test102.99682617188
Output for 5.1.3
Test71.048736572266
Output for 5.1.2
Test412.94097900391
Output for 5.1.0
Test74.148178100586
Output for 5.0.5
Test119.20928955078
Output for 5.0.2
Test63.180923461914
Output for 5.0.1
Test81.062316894531
Output for 4.4.9
Test306.00000000003
Output for 4.4.8
Test58.000000000002
Output for 4.4.7
Test64.999999999982
Output for 4.4.6
Test66.00000000001
Output for 4.4.5
Test71.000000000043
Output for 4.4.4
Test67.999999999957
Output for 4.4.3
Test55.000000000027
Output for 4.4.2
Test66.999999999984
Output for 4.4.1
Test79.999999999969
Output for 4.4.0
Test71.999999999961
Output for 4.3.11
Test65.000000000093
Output for 4.3.10
Test107.00000000008
Output for 4.3.9
Test74.999999999936
Output for 4.3.8
Test82.000000000026
Output for 4.3.7
Test94.999999999956
Output for 4.3.6
Test86.999999999948
Output for 4.3.4 - 4.3.5
Test82.999999999944
Output for 4.3.1, 4.3.3
Test80.999999999998
Output for 4.3.2
Test112
Output for 4.3.0
Test46.999999999908