3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $null = NULL; $empty = ''; $start=microtime(TRUE); for($i=0;$i<100000;$i++) { if($empty === '') { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<100000;$i++) { if(!isset($null)) { } } var_export(microtime(TRUE)-$start); echo "\n";
Output for 7.1.0
0.0041730403900146484 0.002961874008178711
Output for 7.0.14
0.0025091171264648438 0.0027010440826416016
Output for 7.0.6
0.001934051513671875 0.0022449493408203125
Output for 7.0.5
0.0022411346435546875 0.0026171207427978515625
Output for 7.0.4
0.0014569759368896484375 0.0015919208526611328125
Output for 7.0.3
0.0018031597137451171875 0.0019428730010986328125
Output for 7.0.2
0.002049922943115234375 0.002231121063232421875
Output for 7.0.1
0.0021908283233642578125 0.0024778842926025390625
Output for 7.0.0
0.0022060871124267578125 0.0023109912872314453125
Output for hhvm-3.12.0
0.0059559345245361 0.0047879219055176
Output for hhvm-3.10.0
0.0070888996124268 0.0050208568572998
Output for 5.6.28
0.0089848041534423828 0.0090501308441162109
Output for 5.6.21
0.005732059478759765625 0.0057079792022705078125
Output for 5.6.20
0.0054829120635986328125 0.0058200359344482421875
Output for 5.6.19
0.005199909210205078125 0.0054600238800048828125
Output for 5.6.18
0.0040380954742431640625 0.004598140716552734375
Output for 5.6.17
0.004437923431396484375 0.00448703765869140625
Output for 5.6.16
0.0045850276947021484375 0.0047771930694580078125
Output for 5.6.15
0.0048921108245849609375 0.0051190853118896484375
Output for 5.6.14
0.0051381587982177734375 0.0053551197052001953125
Output for 5.6.13
0.0053889751434326171875 0.0059659481048583984375
Output for 5.6.12
0.0034058094024658203125 0.0036270618438720703125
Output for 5.6.11
0.00516605377197265625 0.0048601627349853515625
Output for 5.6.10
0.004209041595458984375 0.004418849945068359375
Output for 5.6.9
0.0049369335174560546875 0.0051591396331787109375
Output for 5.6.8
0.0044491291046142578125 0.004475116729736328125
Output for 5.5.35
0.0038588047027587890625 0.004127025604248046875
Output for 5.5.34
0.00380420684814453125 0.0041830539703369140625
Output for 5.5.33
0.004683017730712890625 0.0048120021820068359375
Output for 5.5.32
0.00376605987548828125 0.0040071010589599609375
Output for 5.5.31
0.004528045654296875 0.0047399997711181640625
Output for 5.5.30
0.005015850067138671875 0.0052490234375
Output for 5.5.29
0.004518032073974609375 0.0045948028564453125
Output for 5.5.28
0.00452518463134765625 0.0046031475067138671875
Output for 5.5.27
0.0051419734954833984375 0.0052721500396728515625
Output for 5.5.26
0.0053679943084716796875 0.005774021148681640625
Output for 5.5.25
0.0033299922943115234375 0.003543853759765625
Output for 5.5.24
0.0053350925445556640625 0.0055329799652099609375
Output for 5.4.45
0.0046370029449462890625 0.0056321620941162109375
Output for 5.4.44
0.0047800540924072265625 0.00510501861572265625
Output for 5.4.43
0.0048320293426513671875 0.005116939544677734375
Output for 5.4.42
0.0056869983673095703125 0.0057799816131591796875
Output for 5.4.41
0.005036830902099609375 0.0050461292266845703125
Output for 5.4.40
0.0051729679107666015625 0.00510501861572265625
Output for 5.4.39
0.0049960613250732421875 0.005074024200439453125
Output for 5.4.38
0.004621982574462890625 0.0069639682769775390625
Output for 5.4.37
0.0042388439178466796875 0.0036671161651611328125
Output for 5.4.36
0.0056049823760986328125 0.0059959888458251953125
Output for 5.4.35
0.0038301944732666015625 0.0038521289825439453125
Output for 5.4.34
0.0056209564208984375 0.005671024322509765625
Output for 5.4.32
0.005012989044189453125 0.005259037017822265625
Output for 5.4.31
0.0053088665008544921875 0.00413799285888671875
Output for 5.4.30
0.0036180019378662109375 0.0037381649017333984375
Output for 5.4.29
0.0035648345947265625 0.0037930011749267578125
Output for 5.4.28
0.0053350925445556640625 0.0056269168853759765625
Output for 5.4.27
0.0035419464111328125 0.0038239955902099609375
Output for 5.4.26
0.0052831172943115234375 0.00592708587646484375
Output for 5.4.25
0.0053579807281494140625 0.003858089447021484375
Output for 5.4.24
0.0036380290985107421875 0.0040528774261474609375
Output for 5.4.23
0.0036609172821044921875 0.0055911540985107421875
Output for 5.4.22
0.003548145294189453125 0.005938053131103515625
Output for 5.4.21
0.0036611557006836 0.0039279460906982
Output for 5.4.20
0.0041069984436035 0.0038480758666992
Output for 5.4.19
0.0038371086120605 0.0059189796447754
Output for 5.4.18
0.0046138763427734 0.0039918422698975
Output for 5.4.17
0.0036811828613281 0.0049731731414795
Output for 5.4.16
0.0054631233215332 0.0058188438415527
Output for 5.4.15
0.0049979686737061 0.0057191848754883
Output for 5.4.14
0.0055849552154541 0.0056860446929932
Output for 5.4.13
0.0066900253295898 0.0053291320800781
Output for 5.4.12
0.0040519237518311 0.0039529800415039
Output for 5.4.11
0.0042338371276855 0.0041348934173584
Output for 5.4.10
0.0038890838623047 0.0041229724884033
Output for 5.4.9
0.0037648677825928 0.0041801929473877
Output for 5.4.8
0.0038731098175049 0.0041348934173584
Output for 5.4.7
0.0038330554962158 0.0040650367736816
Output for 5.4.6
0.0042011737823486 0.0041360855102539
Output for 5.4.5
0.003911018371582 0.0043208599090576
Output for 5.4.4
0.0038938522338867 0.0043859481811523
Output for 5.4.3
0.0037980079650879 0.0040080547332764
Output for 5.4.2
0.003788948059082 0.0040409564971924
Output for 5.4.1
0.0036449432373047 0.0038759708404541
Output for 5.4.0
0.0036380290985107 0.0040509700775146
Output for 5.3.29
0.0043611526489258 0.0047969818115234
Output for 5.3.28
0.0043630599975586 0.0048360824584961
Output for 5.3.27
0.006709098815918 0.0068349838256836
Output for 5.3.26
0.0065569877624512 0.0069611072540283
Output for 5.3.25
0.0043439865112305 0.0048880577087402
Output for 5.3.24
0.0042340755462646 0.0051169395446777
Output for 5.3.23
0.0043489933013916 0.0049910545349121
Output for 5.3.22
0.0045919418334961 0.0080208778381348
Output for 5.3.21
0.0046610832214355 0.0056331157684326
Output for 5.3.20
0.0063660144805908 0.0068540573120117
Output for 5.3.19
0.0044219493865967 0.0044450759887695
Output for 5.3.18
0.0042629241943359 0.0063831806182861
Output for 5.3.17
0.0044960975646973 0.0061719417572021
Output for 5.3.16
0.0045070648193359 0.0051169395446777
Output for 5.3.15
0.0045521259307861 0.0065648555755615
Output for 5.3.14
0.0060598850250244 0.0065639019012451
Output for 5.3.13
0.006505012512207 0.0068349838256836
Output for 5.3.12
0.0051970481872559 0.0054738521575928
Output for 5.3.11
0.004688024520874 0.0047218799591064
Output for 5.3.10
0.0043890476226807 0.0050868988037109
Output for 5.3.9
0.0043909549713135 0.0047519207000732
Output for 5.3.8
0.0044929981231689 0.0062820911407471
Output for 5.3.7
0.0059390068054199 0.0046370029449463
Output for 5.3.6
0.0044729709625244 0.006335973739624
Output for 5.3.5
0.0063118934631348 0.0061678886413574
Output for 5.3.4
0.0061202049255371 0.0050549507141113
Output for 5.3.3
0.0059409141540527 0.0055971145629883
Output for 5.3.2
0.0066840648651123 0.0069360733032227
Output for 5.3.1
0.0063338279724121 0.0062649250030518
Output for 5.3.0
0.0045630931854248 0.0048511028289795
Output for 5.2.17
0.0060129165649414 0.0073199272155762
Output for 5.2.16
0.005681037902832 0.0065188407897949
Output for 5.2.15
0.0058670043945312 0.0066871643066406
Output for 5.2.14
0.0090970993041992 0.0084841251373291
Output for 5.2.13
0.0062541961669922 0.0071349143981934
Output for 5.2.12
0.0093591213226318 0.010150909423828
Output for 5.2.11
0.0083351135253906 0.0085418224334717
Output for 5.2.10
0.0059759616851807 0.0065891742706299
Output for 5.2.9
0.0059330463409424 0.0072031021118164
Output for 5.2.8
0.0060529708862305 0.0076978206634521
Output for 5.2.7
0.0062499046325684 0.0069389343261719
Output for 5.2.6
0.0094840526580811 0.012039184570312
Output for 5.2.5
0.0058419704437256 0.0065779685974121
Output for 5.2.4
0.0065460205078125 0.012280941009521
Output for 5.2.3
0.0092630386352539 0.011270046234131
Output for 5.2.2
0.010265111923218 0.012207984924316
Output for 5.2.1
0.0091841220855713 0.011648893356323
Output for 5.2.0
0.014604091644287 0.016533851623535
Output for 5.1.6
0.0096371173858643 0.0082950592041016
Output for 5.1.5
0.0064370632171631 0.0075938701629639
Output for 5.1.4
0.0062189102172852 0.0074710845947266
Output for 5.1.3
0.0061781406402588 0.0082178115844727
Output for 5.1.2
0.0082330703735352 0.010602951049805
Output for 5.1.1
0.0064229965209961 0.0073730945587158
Output for 5.1.0
0.0065090656280518 0.0072228908538818
Output for 5.0.5
0.017876863479614 0.014166831970215
Output for 5.0.4
0.019401073455811 0.013903856277466
Output for 5.0.3
0.020671844482422 0.01648211479187
Output for 5.0.2
0.047499895095825 0.018564224243164
Output for 5.0.1
0.022574901580811 0.013910055160522
Output for 5.0.0
0.017730951309204 0.013809204101563
Output for 4.4.9
0.017884 0.016686
Output for 4.4.8
0.017266 -0.980339
Output for 4.4.7
0.016315 0.015945
Output for 4.4.6
0.025326 0.027279
Output for 4.4.5
0.027956 0.021875
Output for 4.4.4
0.016361 0.016138
Output for 4.4.3
0.016523 0.016692
Output for 4.4.2
0.017098 0.016571
Output for 4.4.1
0.032698 0.022468
Output for 4.4.0
0.016947 0.017432
Output for 4.3.11
0.018005 0.015499
Output for 4.3.10
0.017193 0.024526
Output for 4.3.9
0.01788 0.01655
Output for 4.3.8
0.017263 0.016813
Output for 4.3.7
0.017616 0.017699
Output for 4.3.6
0.021496 0.021609
Output for 4.3.5
-0.982829 0.014711
Output for 4.3.4
0.017011 0.013741
Output for 4.3.3
0.018474 0.014044
Output for 4.3.2
0.015636 0.015616
Output for 4.3.1
0.016795 0.013933
Output for 4.3.0
0.022245 0.018455