3v4l.org

run code in 200+ 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.2.0
Done: 0.0086312294006348<br/>
Output for 7.1.7
Done: 0.010957002639771<br/>
Output for 7.1.6
Done: 0.021435022354126<br/>
Output for 7.1.5
Done: 0.021301984786987<br/>
Output for 7.1.0
Done: 0.036972045898438<br/>
Output for 7.0.20
Done: 0.010101079940796<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 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.031513929367065<br/>
Output for 5.4.26
Done: 0.030267953872681<br/>
Output for 5.4.25
Done: 0.032774925231934<br/>
Output for 5.4.24
Done: 0.037564992904663<br/>
Output for 5.4.23
Done: 0.043997049331665<br/>
Output for 5.4.22
Done: 0.03001594543457<br/>
Output for 5.4.21
Done: 0.029700994491577<br/>
Output for 5.4.20
Done: 0.0280921459198<br/>
Output for 5.4.19
Done: 0.028226852416992<br/>
Output for 5.4.18
Done: 0.03711986541748<br/>
Output for 5.4.17
Done: 0.028186082839966<br/>
Output for 5.4.16
Done: 0.030904054641724<br/>
Output for 5.4.15
Done: 0.029139995574951<br/>
Output for 5.4.14
Done: 0.035013914108276<br/>
Output for 5.4.13
Done: 0.037584066390991<br/>
Output for 5.4.12
Done: 0.030508995056152<br/>
Output for 5.4.11
Done: 0.046934127807617<br/>
Output for 5.4.10
Done: 0.029726982116699<br/>
Output for 5.4.9
Done: 0.028213024139404<br/>
Output for 5.4.8
Done: 0.031818866729736<br/>
Output for 5.4.7
Done: 0.032329082489014<br/>
Output for 5.4.6
Done: 0.029263973236084<br/>
Output for 5.4.5
Done: 0.034292936325073<br/>
Output for 5.4.4
Done: 0.033478975296021<br/>
Output for 5.4.3
Done: 0.030411005020142<br/>
Output for 5.4.2
Done: 0.031466960906982<br/>
Output for 5.4.1
Done: 0.02935004234314<br/>
Output for 5.4.0
Done: 0.029006004333496<br/>
Output for 5.3.29
Done: 0.02924919128418<br/>
Output for 5.3.28
Done: 0.039722204208374<br/>
Output for 5.3.27
Done: 0.039070129394531<br/>
Output for 5.3.26
Done: 0.068228960037231<br/>
Output for 5.3.25
Done: 0.038644075393677<br/>
Output for 5.3.24
Done: 0.057726860046387<br/>
Output for 5.3.23
Done: 0.042278051376343<br/>
Output for 5.3.22
Done: 0.041010856628418<br/>
Output for 5.3.21
Done: 0.06548285484314<br/>
Output for 5.3.20
Done: 0.063764095306396<br/>
Output for 5.3.19
Done: 0.03987717628479<br/>
Output for 5.3.18
Done: 0.061312913894653<br/>
Output for 5.3.17
Done: 0.03801417350769<br/>
Output for 5.3.16
Done: 0.040600061416626<br/>
Output for 5.3.15
Done: 0.040462017059326<br/>
Output for 5.3.14
Done: 0.041582822799683<br/>
Output for 5.3.13
Done: 0.041558027267456<br/>
Output for 5.3.12
Done: 0.040207862854004<br/>
Output for 5.3.11
Done: 0.066484212875366<br/>
Output for 5.3.10
Done: 0.062968015670776<br/>
Output for 5.3.9
Done: 0.056323051452637<br/>
Output for 5.3.8
Done: 0.046756982803345<br/>
Output for 5.3.7
Done: 0.041181087493896<br/>
Output for 5.3.6
Done: 0.063565969467163<br/>
Output for 5.3.5
Done: 0.062182903289795<br/>
Output for 5.3.4
Done: 0.059652090072632<br/>
Output for 5.3.3
Done: 0.058815956115723<br/>
Output for 5.3.2
Done: 0.04983115196228<br/>
Output for 5.3.1
Done: 0.044077157974243<br/>
Output for 5.3.0
Done: 0.041505098342896<br/>
Output for 5.2.17
Done: 0.063415050506592<br/>
Output for 5.2.16
Done: 0.06055212020874<br/>
Output for 5.2.15
Done: 0.070492029190063<br/>
Output for 5.2.14
Done: 0.056777000427246<br/>
Output for 5.2.13
Done: 0.058130025863647<br/>
Output for 5.2.12
Done: 0.059642791748047<br/>
Output for 5.2.11
Done: 0.091078996658325<br/>
Output for 5.2.10
Done: 0.056298971176147<br/>
Output for 5.2.9
Done: 0.077001094818115<br/>
Output for 5.2.8
Done: 0.059039115905762<br/>
Output for 5.2.7
Done: 0.058250904083252<br/>
Output for 5.2.6
Done: 0.061431884765625<br/>
Output for 5.2.5
Done: 0.055760860443115<br/>
Output for 5.2.4
Done: 0.067959070205688<br/>
Output for 5.2.3
Done: 0.059005975723267<br/>
Output for 5.2.2
Done: 0.10515308380127<br/>
Output for 5.2.1
Done: 0.094279050827026<br/>
Output for 5.2.0
Done: 0.0571129322052<br/>
Output for 5.1.6
Done: 0.058648109436035<br/>
Output for 5.1.5
Done: 0.099774837493896<br/>
Output for 5.1.4
Done: 0.072809934616089<br/>
Output for 5.1.3
Done: 0.058472871780396<br/>
Output for 5.1.2
Done: 0.096950054168701<br/>
Output for 5.1.1
Done: 0.091753005981445<br/>
Output for 5.1.0
Done: 0.10669803619385<br/>
Output for 5.0.5
Done: 0.18690395355225<br/>
Output for 5.0.4
Done: 0.21456217765808<br/>
Output for 5.0.3
Done: 0.18512010574341<br/>
Output for 5.0.2
Done: 0.17131805419922<br/>
Output for 5.0.1
Done: 0.17592692375183<br/>
Output for 5.0.0
Done: 0.17171192169189<br/>
Output for 4.4.9
Done: 0.228653<br/>
Output for 4.4.8
Done: 0.202037<br/>
Output for 4.4.7
Done: 0.168114<br/>
Output for 4.4.6
Done: 0.203712<br/>
Output for 4.4.5
Done: 0.220533<br/>
Output for 4.4.4
Done: 0.184907<br/>
Output for 4.4.3
Done: 0.28187<br/>
Output for 4.4.2
Done: 0.174048<br/>
Output for 4.4.1
Done: 0.163298<br/>
Output for 4.4.0
Done: 0.169497<br/>
Output for 4.3.11
Done: 0.170529<br/>
Output for 4.3.10
Done: 0.156097<br/>
Output for 4.3.9
Done: 0.15439<br/>
Output for 4.3.8
Done: 0.171459<br/>
Output for 4.3.7
Done: 0.158768<br/>
Output for 4.3.6
Done: 0.155803<br/>
Output for 4.3.5
Done: 0.169645<br/>
Output for 4.3.4
Done: 0.181062<br/>
Output for 4.3.3
Done: 0.276489<br/>
Output for 4.3.2
Done: 0.158946<br/>
Output for 4.3.1
Done: 0.217563<br/>
Output for 4.3.0
Done: 0.157985<br/>