3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 0; $start = microtime(true); while (true) { $i++; if ($i == 1000000) break; } echo "Done: " . (microtime(true) - $start) . "<br/>\n";
Output for 7.1.0
Done: 0.036972045898438<br/>
Output for 7.0.14
Done: 0.015799045562744<br/>
Output for 7.0.6
Done: 0.013283014297485<br/>
Output for 7.0.5
Done: 0.014462947845459<br/>
Output for 7.0.4
Done: 0.014407157897949<br/>
Output for 7.0.3
Done: 0.015215158462524<br/>
Output for 7.0.2
Done: 0.011953830718994<br/>
Output for 7.0.1
Done: 0.01495885848999<br/>
Output for 7.0.0
Done: 0.014794111251831<br/>
Output for hhvm-3.12.0
Done: 0.048789024353027<br/>
Output for hhvm-3.10.0
Done: 0.04194712638855<br/>
Output for 5.6.21
Done: 0.028887987136841<br/>
Output for 5.6.20
Done: 0.022949934005737<br/>
Output for 5.6.19
Done: 0.025538206100464<br/>
Output for 5.6.18
Done: 0.027045965194702<br/>
Output for 5.6.17
Done: 0.02186107635498<br/>
Output for 5.6.16
Done: 0.026988983154297<br/>
Output for 5.6.15
Done: 0.022620916366577<br/>
Output for 5.6.14
Done: 0.03118896484375<br/>
Output for 5.6.13
Done: 0.032141923904419<br/>
Output for 5.6.12
Done: 0.031872987747192<br/>
Output for 5.6.11
Done: 0.029537916183472<br/>
Output for 5.6.10
Done: 0.027483940124512<br/>
Output for 5.6.9
Done: 0.031599044799805<br/>
Output for 5.6.8
Done: 0.032485008239746<br/>
Output for 5.5.35
Done: 0.024334907531738<br/>
Output for 5.5.34
Done: 0.027179956436157<br/>
Output for 5.5.33
Done: 0.031752824783325<br/>
Output for 5.5.32
Done: 0.021183967590332<br/>
Output for 5.5.31
Done: 0.030160903930664<br/>
Output for 5.5.30
Done: 0.032221794128418<br/>
Output for 5.5.29
Done: 0.026572942733765<br/>
Output for 5.5.28
Done: 0.032732963562012<br/>
Output for 5.5.27
Done: 0.022984027862549<br/>
Output for 5.5.26
Done: 0.031909942626953<br/>
Output for 5.5.25
Done: 0.03192400932312<br/>
Output for 5.5.24
Done: 0.034003019332886<br/>
Output for 5.4.45
Done: 0.030088901519775<br/>
Output for 5.4.44
Done: 0.038242101669312<br/>
Output for 5.4.43
Done: 0.030117988586426<br/>
Output for 5.4.42
Done: 0.05457878112793<br/>
Output for 5.4.41
Done: 0.033305168151855<br/>
Output for 5.4.40
Done: 0.031807899475098<br/>
Output for 5.4.39
Done: 0.031893014907837<br/>
Output for 5.4.38
Done: 0.048912048339844<br/>
Output for 5.4.37
Done: 0.030346155166626<br/>
Output for 5.4.36
Done: 0.03319787979126<br/>
Output for 5.4.35
Done: 0.030253887176514<br/>
Output for 5.4.34
Done: 0.031395196914673<br/>
Output for 5.4.32
Done: 0.023009061813354<br/>
Output for 5.4.31
Done: 0.022889852523804<br/>
Output for 5.4.30
Done: 0.0226149559021<br/>
Output for 5.4.29
Done: 0.033913135528564<br/>
Output for 5.4.28
Done: 0.023974180221558<br/>
Output for 5.4.27
Done: 0.022733211517334<br/>
Output for 5.4.26
Done: 0.022413969039917<br/>
Output for 5.4.25
Done: 0.022829055786133<br/>
Output for 5.4.24
Done: 0.038678884506226<br/>
Output for 5.4.23
Done: 0.022565841674805<br/>
Output for 5.4.22
Done: 0.022889137268066<br/>
Output for 5.4.21
Done: 0.0367591381073<br/>
Output for 5.4.20
Done: 0.02297306060791<br/>
Output for 5.4.19
Done: 0.022289991378784<br/>
Output for 5.4.18
Done: 0.024623155593872<br/>
Output for 5.4.17
Done: 0.036978006362915<br/>
Output for 5.4.16
Done: 0.024178028106689<br/>
Output for 5.4.15
Done: 0.023123025894165<br/>
Output for 5.4.14
Done: 0.023508071899414<br/>
Output for 5.4.13
Done: 0.024591207504272<br/>
Output for 5.4.12
Done: 0.023517847061157<br/>
Output for 5.4.11
Done: 0.023934841156006<br/>
Output for 5.4.10
Done: 0.023956775665283<br/>
Output for 5.4.9
Done: 0.035855054855347<br/>
Output for 5.4.8
Done: 0.026839017868042<br/>
Output for 5.4.7
Done: 0.023702144622803<br/>
Output for 5.4.6
Done: 0.023668050765991<br/>
Output for 5.4.5
Done: 0.023215055465698<br/>
Output for 5.4.4
Done: 0.024177074432373<br/>
Output for 5.4.3
Done: 0.03333306312561<br/>
Output for 5.4.2
Done: 0.023591041564941<br/>
Output for 5.4.1
Done: 0.023300886154175<br/>
Output for 5.4.0
Done: 0.02604603767395<br/>
Output for 5.3.29
Done: 0.02924919128418<br/>
Output for 5.3.28
Done: 0.030894994735718<br/>
Output for 5.3.27
Done: 0.030078887939453<br/>
Output for 5.3.26
Done: 0.04797887802124<br/>
Output for 5.3.25
Done: 0.028330087661743<br/>
Output for 5.3.24
Done: 0.040701866149902<br/>
Output for 5.3.23
Done: 0.029720067977905<br/>
Output for 5.3.22
Done: 0.037930011749268<br/>
Output for 5.3.21
Done: 0.029121875762939<br/>
Output for 5.3.20
Done: 0.051042079925537<br/>
Output for 5.3.19
Done: 0.029564142227173<br/>
Output for 5.3.18
Done: 0.02971887588501<br/>
Output for 5.3.17
Done: 0.029912948608398<br/>
Output for 5.3.16
Done: 0.029805183410645<br/>
Output for 5.3.15
Done: 0.029594898223877<br/>
Output for 5.3.14
Done: 0.031682968139648<br/>
Output for 5.3.13
Done: 0.030598163604736<br/>
Output for 5.3.12
Done: 0.031178951263428<br/>
Output for 5.3.11
Done: 0.03006911277771<br/>
Output for 5.3.10
Done: 0.029877185821533<br/>
Output for 5.3.9
Done: 0.030025005340576<br/>
Output for 5.3.8
Done: 0.031053066253662<br/>
Output for 5.3.7
Done: 0.032361030578613<br/>
Output for 5.3.6
Done: 0.030940055847168<br/>
Output for 5.3.5
Done: 0.036654949188232<br/>
Output for 5.3.4
Done: 0.046011209487915<br/>
Output for 5.3.3
Done: 0.051883935928345<br/>
Output for 5.3.2
Done: 0.043741941452026<br/>
Output for 5.3.1
Done: 0.041708946228027<br/>
Output for 5.3.0
Done: 0.048528909683228<br/>
Output for 5.2.17
Done: 0.044375896453857<br/>
Output for 5.2.16
Done: 0.053065061569214<br/>
Output for 5.2.15
Done: 0.045295000076294<br/>
Output for 5.2.14
Done: 0.050006866455078<br/>
Output for 5.2.13
Done: 0.053137063980103<br/>
Output for 5.2.12
Done: 0.045267105102539<br/>
Output for 5.2.11
Done: 0.068773984909058<br/>
Output for 5.2.10
Done: 0.061291933059692<br/>
Output for 5.2.9
Done: 0.083883047103882<br/>
Output for 5.2.8
Done: 0.044581174850464<br/>
Output for 5.2.7
Done: 0.047742128372192<br/>
Output for 5.2.6
Done: 0.046962976455688<br/>
Output for 5.2.5
Done: 0.050697088241577<br/>
Output for 5.2.4
Done: 0.082808971405029<br/>
Output for 5.2.3
Done: 0.065362215042114<br/>
Output for 5.2.2
Done: 0.049087047576904<br/>
Output for 5.2.1
Done: 0.044365882873535<br/>
Output for 5.2.0
Done: 0.059387922286987<br/>
Output for 5.1.6
Done: 0.053918123245239<br/>
Output for 5.1.5
Done: 0.048810958862305<br/>
Output for 5.1.4
Done: 0.055562019348145<br/>
Output for 5.1.3
Done: 0.052875995635986<br/>
Output for 5.1.2
Done: 0.085434913635254<br/>
Output for 5.1.1
Done: 0.10087394714355<br/>
Output for 5.1.0
Done: 0.080555200576782<br/>
Output for 5.0.5
Done: 0.13877105712891<br/>
Output for 5.0.4
Done: 0.21878695487976<br/>
Output for 5.0.3
Done: 0.19397807121277<br/>
Output for 5.0.2
Done: 0.12868595123291<br/>
Output for 5.0.1
Done: 0.13197612762451<br/>
Output for 5.0.0
Done: 0.13420701026917<br/>
Output for 4.4.9
Done: 0.122661<br/>
Output for 4.4.8
Done: -0.857998<br/>
Output for 4.4.7
Done: 0.180429<br/>
Output for 4.4.6
Done: 0.164811<br/>
Output for 4.4.5
Done: 0.204723<br/>
Output for 4.4.4
Done: 0.12905<br/>
Output for 4.4.3
Done: 0.132741<br/>
Output for 4.4.2
Done: 0.123051<br/>
Output for 4.4.1
Done: 0.168883<br/>
Output for 4.4.0
Done: 0.215453<br/>
Output for 4.3.11
Done: 0.2052<br/>
Output for 4.3.10
Done: -0.794733<br/>
Output for 4.3.9
Done: 0.164646<br/>
Output for 4.3.8
Done: 0.131713<br/>
Output for 4.3.7
Done: 0.137643<br/>
Output for 4.3.6
Done: 0.223293<br/>
Output for 4.3.5
Done: 0.134617<br/>
Output for 4.3.4
Done: 0.197269<br/>
Output for 4.3.3
Done: 0.122249<br/>
Output for 4.3.2
Done: 0.127842<br/>
Output for 4.3.1
Done: 0.119346<br/>
Output for 4.3.0
Done: 0.157985<br/>