3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = -microtime(true); usleep(1000); $time += microtime(true); echo "Duration: " . $time;
Output for 5.0.3, 5.1.3, 5.3.12 - 5.3.14, 5.3.20, 5.3.22 - 5.3.23, 5.4.12, 5.4.17, 5.4.31, 7.1.0
Duration: 0.0010709762573242
Output for hhvm-3.12.0, 7.0.14
Duration: 0.0010678768157959
Output for 7.0.6
Duration: 0.0010919570922852
Output for 5.4.25, 5.4.27, 7.0.5
Duration: 0.001079797744751
Output for 5.5.26, 7.0.4
Duration: 0.0010840892791748
Output for 7.0.3
Duration: 0.0010929107666016
Output for 5.2.0, 5.4.7, 5.4.13, 5.6.18, 7.0.2
Duration: 0.0010831356048584
Output for 5.6.21, 7.0.1
Duration: 0.0010859966278076
Output for 7.0.0
Duration: 0.0010590553283691
Output for 5.6.10, hhvm-3.10.0
Duration: 0.0010948181152344
Output for 5.0.0, 5.1.2, 5.2.12, 5.6.28
Duration: 0.0010738372802734
Output for 5.6.20
Duration: 0.0010597705841064
Output for 5.2.6, 5.3.0, 5.4.3, 5.6.15, 5.6.19
Duration: 0.0010759830474854
Output for 5.6.17
Duration: 0.0010848045349121
Output for 5.4.39, 5.6.12, 5.6.16
Duration: 0.0010969638824463
Output for 5.2.9, 5.3.28, 5.4.2, 5.6.14
Duration: 0.0010809898376465
Output for 5.4.9, 5.5.28, 5.6.13
Duration: 0.001086950302124
Output for 5.6.11
Duration: 0.0011119842529297
Output for 5.2.15, 5.3.29, 5.4.45, 5.6.9
Duration: 0.0010900497436523
Output for 5.6.8
Duration: 0.0011360645294189
Output for 5.5.35
Duration: 0.0010581016540527
Output for 5.4.5, 5.5.34
Duration: 0.0010879039764404
Output for 5.4.20, 5.5.33
Duration: 0.0010690689086914
Output for 5.5.32
Duration: 0.0010299682617188
Output for 5.3.5, 5.4.8, 5.5.29, 5.5.31
Duration: 0.0010850429534912
Output for 5.1.0, 5.2.5, 5.2.8, 5.4.4, 5.4.30, 5.5.27, 5.5.30
Duration: 0.0010750293731689
Output for 5.5.25
Duration: 0.0010659694671631
Output for 5.3.10, 5.5.24
Duration: 0.0010688304901123
Output for 5.4.44
Duration: 0.0011081695556641
Output for 5.4.43
Duration: 0.0011529922485352
Output for 5.4.42
Duration: 0.0011210441589355
Output for 5.4.41
Duration: 0.001101016998291
Output for 5.4.40
Duration: 0.0010991096496582
Output for 5.4.38
Duration: 0.0011160373687744
Output for 5.4.37
Duration: 0.0011498928070068
Output for 5.4.36
Duration: 0.0010888576507568
Output for 5.4.35
Duration: 0.0011088848114014
Output for 5.4.34
Duration: 0.0011298656463623
Output for 5.4.32
Duration: 0.0010721683502197
Output for 5.2.4, 5.4.10, 5.4.29
Duration: 0.0010769367218018
Output for 5.3.19, 5.4.28
Duration: 0.0010910034179688
Output for 5.2.17, 5.4.14, 5.4.26
Duration: 0.0010778903961182
Output for 5.4.19, 5.4.24
Duration: 0.0010950565338135
Output for 5.2.2, 5.3.2, 5.4.15, 5.4.23
Duration: 0.0010740756988525
Output for 5.1.5, 5.4.1, 5.4.21 - 5.4.22
Duration: 0.0010819435119629
Output for 5.2.10, 5.4.11, 5.4.18
Duration: 0.0010790824890137
Output for 5.2.1, 5.3.21, 5.4.16
Duration: 0.001072883605957
Output for 5.4.6
Duration: 0.0013480186462402
Output for 5.4.0
Duration: 0.0010890960693359
Output for 5.1.6, 5.2.7, 5.2.16, 5.3.4, 5.3.9, 5.3.25, 5.3.27
Duration: 0.0010731220245361
Output for 5.3.7, 5.3.24, 5.3.26
Duration: 0.0010781288146973
Output for 5.0.5, 5.1.4, 5.3.1, 5.3.6, 5.3.16, 5.3.18
Duration: 0.0010719299316406
Output for 5.3.17
Duration: 0.001093864440918
Output for 5.3.15
Duration: 0.0010800361633301
Output for 5.3.11
Duration: 0.0010697841644287
Output for 5.3.8
Duration: 0.0010828971862793
Output for 5.3.3
Duration: 0.0010871887207031
Output for 5.2.14
Duration: 0.001121997833252
Output for 5.2.13
Duration: 0.001054048538208
Output for 5.2.11
Duration: 0.0056531429290771
Output for 5.2.3
Duration: 0.0010838508605957
Output for 5.1.1
Duration: 0.0021920204162598
Output for 5.0.4
Duration: 0.0014040470123291
Output for 5.0.2
Duration: 0.0011241436004639
Output for 5.0.1
Duration: 0.0010747909545898
Output for 4.4.9
Duration: 0.001087
Output for 4.4.6, 4.4.8
Duration: 0.001091
Output for 4.4.7
Duration: 0.001631
Output for 4.4.5
Duration: 0.001084
Output for 4.4.4
Duration: 0.001086
Output for 4.4.3
Duration: 0.001078
Output for 4.4.2
Duration: 0.001092
Output for 4.4.1
Duration: 0.0011009999999999
Output for 4.4.0
Duration: 0.001088
Output for 4.3.11
Duration: 0.001101
Output for 4.3.10
Duration: 0.001082
Output for 4.3.9
Duration: 0.0011100000000001
Output for 4.3.3, 4.3.6, 4.3.8
Duration: 0.0011
Output for 4.3.7
Duration: 0.001096
Output for 4.3.5
Duration: 0.001111
Output for 4.3.4
Duration: 0.0010979999999999
Output for 4.3.2
Duration: 0.0011070000000001
Output for 4.3.1
Duration: 0.001108
Output for 4.3.0
Duration: 0.001129