3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { return 12; } $s = microtime(true); for ($i = 0; $i < 1000; $i++) { $str = ''; for ($k = 0; $k < 280; $k++) { $str .= chr(foo()); } } $e = microtime(true); echo ($e - $s) . " Seconds\n";
Output for 7.1.0
0.027333974838257 Seconds
Output for 7.0.14
0.027513980865479 Seconds
Output for 7.0.12
0.031338930130005 Seconds
Output for 7.0.6
0.02444314956665 Seconds
Output for 7.0.5
0.024954795837402 Seconds
Output for 7.0.4
0.021720170974731 Seconds
Output for 7.0.3
0.017750024795532 Seconds
Output for 7.0.2
0.018708944320679 Seconds
Output for 7.0.1
0.020823001861572 Seconds
Output for 7.0.0
0.017741918563843 Seconds
Output for hhvm-3.12.0
0.04332709312439 Seconds
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
0.075909852981567 Seconds
Output for 5.6.21
0.054988145828247 Seconds
Output for 5.6.20
0.0454421043396 Seconds
Output for 5.6.19
0.054311990737915 Seconds
Output for 5.6.18
0.04410982131958 Seconds
Output for 5.6.17
0.046347141265869 Seconds
Output for 5.6.16
0.061941146850586 Seconds
Output for 5.6.15
0.048670053482056 Seconds
Output for 5.6.14
0.06228494644165 Seconds
Output for 5.6.13
0.059536933898926 Seconds
Output for 5.6.12
0.062383890151978 Seconds
Output for 5.6.11
0.054523944854736 Seconds
Output for 5.6.10
0.05696702003479 Seconds
Output for 5.6.9
0.050592184066772 Seconds
Output for 5.6.8
0.044584989547729 Seconds
Output for 5.6.7
0.044358015060425 Seconds
Output for 5.5.35
0.060317039489746 Seconds
Output for 5.5.34
0.056205034255981 Seconds
Output for 5.5.33
0.048449993133545 Seconds
Output for 5.5.32
0.049015998840332 Seconds
Output for 5.5.31
0.059811115264893 Seconds
Output for 5.5.30
0.064661979675293 Seconds
Output for 5.5.29
0.060793161392212 Seconds
Output for 5.5.28
0.053420066833496 Seconds
Output for 5.5.27
0.045186996459961 Seconds
Output for 5.5.26
0.05770206451416 Seconds
Output for 5.5.25
0.069415092468262 Seconds
Output for 5.5.24
0.06977391242981 Seconds
Output for 5.4.45
0.058987140655518 Seconds
Output for 5.4.44
0.066150188446045 Seconds
Output for 5.4.43
0.063776016235352 Seconds
Output for 5.4.42
0.061581134796143 Seconds
Output for 5.4.41
0.059896230697632 Seconds
Output for 5.4.40
0.068770885467529 Seconds
Output for 5.4.39
0.068827867507935 Seconds
Output for 5.4.38
0.065396070480347 Seconds
Output for 5.4.37
0.069279193878174 Seconds
Output for 5.4.36
0.049299955368042 Seconds
Output for 5.4.35
0.047355890274048 Seconds
Output for 5.4.34
0.048819065093994 Seconds
Output for 5.4.32
0.049086809158325 Seconds
Output for 5.4.31
0.051902055740356 Seconds
Output for 5.4.30
0.04565691947937 Seconds
Output for 5.4.29
0.046697854995728 Seconds
Output for 5.4.28
0.046983003616333 Seconds
Output for 5.4.27
0.046271085739136 Seconds
Output for 5.4.26
0.045049905776978 Seconds
Output for 5.4.25
0.046612977981567 Seconds
Output for 5.4.24
0.050452947616577 Seconds
Output for 5.4.23
0.053959131240845 Seconds
Output for 5.4.22
0.051175832748413 Seconds
Output for 5.4.21
0.047153949737549 Seconds
Output for 5.4.20
0.064194917678833 Seconds
Output for 5.4.19
0.049669027328491 Seconds
Output for 5.4.18
0.059541940689087 Seconds
Output for 5.4.17
0.050770998001099 Seconds
Output for 5.4.16
0.070260047912598 Seconds
Output for 5.4.15
0.055426836013794 Seconds
Output for 5.4.14
0.05547308921814 Seconds
Output for 5.4.13
0.062494039535522 Seconds
Output for 5.4.12
0.070006132125854 Seconds
Output for 5.4.11
0.068058967590332 Seconds
Output for 5.4.10
0.063508033752441 Seconds
Output for 5.4.9
0.071822881698608 Seconds
Output for 5.4.8
0.067917108535767 Seconds
Output for 5.4.7
0.061617136001587 Seconds
Output for 5.4.6
0.052196025848389 Seconds
Output for 5.4.5
0.06580114364624 Seconds
Output for 5.4.4
0.067018985748291 Seconds
Output for 5.4.3
0.063314199447632 Seconds
Output for 5.4.2
0.061076879501343 Seconds
Output for 5.4.1
0.056945085525513 Seconds
Output for 5.4.0
0.062813997268677 Seconds
Output for 5.3.29
0.051729917526245 Seconds
Output for 5.3.28
0.053421974182129 Seconds
Output for 5.3.27
0.073728084564209 Seconds
Output for 5.3.26
0.059708833694458 Seconds
Output for 5.3.25
0.071830987930298 Seconds
Output for 5.3.24
0.070165872573853 Seconds
Output for 5.3.23
0.073184013366699 Seconds
Output for 5.3.22
0.054410934448242 Seconds
Output for 5.3.21
0.083133935928345 Seconds
Output for 5.3.20
0.074981212615967 Seconds
Output for 5.3.19
0.061794996261597 Seconds
Output for 5.3.18
0.073957920074463 Seconds
Output for 5.3.17
0.077892065048218 Seconds
Output for 5.3.16
0.066851854324341 Seconds
Output for 5.3.15
0.056447982788086 Seconds
Output for 5.3.14
0.062031984329224 Seconds
Output for 5.3.13
0.053989887237549 Seconds
Output for 5.3.12
0.070588111877441 Seconds
Output for 5.3.11
0.053718090057373 Seconds
Output for 5.3.10
0.07548999786377 Seconds
Output for 5.3.9
0.076545000076294 Seconds
Output for 5.3.8
0.074037790298462 Seconds
Output for 5.3.7
0.060388803482056 Seconds
Output for 5.3.6
0.056124925613403 Seconds
Output for 5.3.5
0.089474201202393 Seconds
Output for 5.3.4
0.066664934158325 Seconds
Output for 5.3.3
0.070748090744019 Seconds
Output for 5.3.2
0.075568914413452 Seconds
Output for 5.3.1
0.067895889282227 Seconds
Output for 5.3.0
0.08387017250061 Seconds
Output for 5.2.17
0.065428972244263 Seconds
Output for 5.2.16
0.082289218902588 Seconds
Output for 5.2.15
0.081782102584839 Seconds
Output for 5.2.14
0.081684112548828 Seconds
Output for 5.2.13
0.082674980163574 Seconds
Output for 5.2.12
0.069092988967896 Seconds
Output for 5.2.11
0.073251962661743 Seconds
Output for 5.2.10
0.060168027877808 Seconds
Output for 5.2.9
0.07767391204834 Seconds
Output for 5.2.8
0.062549114227295 Seconds
Output for 5.2.7
0.084911823272705 Seconds
Output for 5.2.6
0.066797018051147 Seconds
Output for 5.2.5
0.065829992294312 Seconds
Output for 5.2.4
0.084904193878174 Seconds
Output for 5.2.3
0.071000099182129 Seconds
Output for 5.2.2
0.079057931900024 Seconds
Output for 5.2.1
0.071933031082153 Seconds
Output for 5.2.0
0.08510684967041 Seconds
Output for 5.1.6
0.078376054763794 Seconds
Output for 5.1.5
0.085180997848511 Seconds
Output for 5.1.4
0.084996938705444 Seconds
Output for 5.1.3
0.082161903381348 Seconds
Output for 5.1.2
0.065585136413574 Seconds
Output for 5.1.1
0.066431999206543 Seconds
Output for 5.1.0
0.090718984603882 Seconds
Output for 5.0.5
0.13122606277466 Seconds
Output for 5.0.4
0.13015818595886 Seconds
Output for 5.0.3
0.1184618473053 Seconds
Output for 5.0.2
0.13058090209961 Seconds
Output for 5.0.1
0.12508702278137 Seconds
Output for 5.0.0
0.12365889549255 Seconds
Output for 4.4.9
0.121285 Seconds
Output for 4.4.8
0.087473 Seconds
Output for 4.4.7
0.08857 Seconds
Output for 4.4.6
0.090117 Seconds
Output for 4.4.5
0.090868 Seconds
Output for 4.4.4
0.08842 Seconds
Output for 4.4.3
-0.896799 Seconds
Output for 4.4.2
-0.867613 Seconds
Output for 4.4.1
0.114207 Seconds
Output for 4.4.0
0.08748 Seconds
Output for 4.3.11
0.126749 Seconds
Output for 4.3.10
0.127831 Seconds
Output for 4.3.9
0.128946 Seconds
Output for 4.3.8
0.138429 Seconds
Output for 4.3.7
0.120957 Seconds
Output for 4.3.6
-0.890837 Seconds
Output for 4.3.5
0.095943 Seconds
Output for 4.3.4
0.12124 Seconds
Output for 4.3.3
0.130288 Seconds
Output for 4.3.2
-0.871468 Seconds
Output for 4.3.1
0.109231 Seconds
Output for 4.3.0
0.13498 Seconds