3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); for ($i = 0; $i < 1000; $i++) { $str = ''; for ($k = 0; $k < 280; $k++) { $str .= chr(mt_rand(0, 255)); } } $e = microtime(true); echo ($e - $s) . " Seconds\n";
Output for 7.1.0
0.043552875518799 Seconds
Output for 7.0.14
0.040127992630005 Seconds
Output for 7.0.10
0.03754186630249 Seconds
Output for 7.0.9
0.031946897506714 Seconds
Output for 7.0.8
0.036410093307495 Seconds
Output for 7.0.7
0.03818416595459 Seconds
Output for 7.0.6
0.030590057373047 Seconds
Output for 7.0.5
0.029707908630371 Seconds
Output for 7.0.4
0.026926040649414 Seconds
Output for 7.0.3
0.029388189315796 Seconds
Output for 7.0.2
0.041100025177002 Seconds
Output for 7.0.1
0.030853986740112 Seconds
Output for 7.0.0
0.026376962661743 Seconds
Output for hhvm-3.12.0
0.063528060913086 Seconds
Output for hhvm-3.10.0
0.076902151107788 Seconds
Output for 5.6.28
0.10973215103149 Seconds
Output for 5.6.25
0.067981004714966 Seconds
Output for 5.6.24
0.07175612449646 Seconds
Output for 5.6.23
0.074394941329956 Seconds
Output for 5.6.22
0.075305938720703 Seconds
Output for 5.6.21
0.090882062911987 Seconds
Output for 5.6.20
0.057054996490479 Seconds
Output for 5.6.19
0.058551073074341 Seconds
Output for 5.6.18
0.056473970413208 Seconds
Output for 5.6.17
0.078452825546265 Seconds
Output for 5.6.16
0.067892074584961 Seconds
Output for 5.6.15
0.054136991500854 Seconds
Output for 5.6.14
0.056868076324463 Seconds
Output for 5.6.13
0.056046962738037 Seconds
Output for 5.6.12
0.060245990753174 Seconds
Output for 5.6.11
0.056623935699463 Seconds
Output for 5.6.10
0.057472944259644 Seconds
Output for 5.6.9
0.066711902618408 Seconds
Output for 5.6.8
0.069097995758057 Seconds
Output for 5.6.7
0.063486099243164 Seconds
Output for 5.6.6
0.070181846618652 Seconds
Output for 5.6.5
0.079024076461792 Seconds
Output for 5.6.4
0.059940099716187 Seconds
Output for 5.6.3
0.080838918685913 Seconds
Output for 5.6.2
0.068493843078613 Seconds
Output for 5.6.1
0.064085006713867 Seconds
Output for 5.6.0
0.075634002685547 Seconds
Output for 5.5.38
0.079474925994873 Seconds
Output for 5.5.37
0.077337980270386 Seconds
Output for 5.5.36
0.075189113616943 Seconds
Output for 5.5.35
0.067986965179443 Seconds
Output for 5.5.34
0.062101125717163 Seconds
Output for 5.5.33
0.060881853103638 Seconds
Output for 5.5.32
0.066374063491821 Seconds
Output for 5.5.31
0.068039894104004 Seconds
Output for 5.5.30
0.058969974517822 Seconds
Output for 5.5.29
0.069439172744751 Seconds
Output for 5.5.28
0.060182809829712 Seconds
Output for 5.5.27
0.060737133026123 Seconds
Output for 5.5.26
0.061458110809326 Seconds
Output for 5.5.25
0.059998989105225 Seconds
Output for 5.5.24
0.060065984725952 Seconds
Output for 5.5.23
0.079645872116089 Seconds
Output for 5.5.22
0.083049058914185 Seconds
Output for 5.5.21
0.07026195526123 Seconds
Output for 5.5.20
0.077983856201172 Seconds
Output for 5.5.19
0.082982063293457 Seconds
Output for 5.5.18
0.08590292930603 Seconds
Output for 5.5.16
0.078932046890259 Seconds
Output for 5.5.15
0.06669807434082 Seconds
Output for 5.5.14
0.081053972244263 Seconds
Output for 5.5.13
0.084747076034546 Seconds
Output for 5.5.12
0.077419996261597 Seconds
Output for 5.5.11
0.070813894271851 Seconds
Output for 5.5.10
0.074060916900635 Seconds
Output for 5.5.9
0.081084966659546 Seconds
Output for 5.5.8
0.079715967178345 Seconds
Output for 5.5.7
0.072648048400879 Seconds
Output for 5.5.6
0.07439398765564 Seconds
Output for 5.5.5
0.086749076843262 Seconds
Output for 5.5.4
0.076335906982422 Seconds
Output for 5.5.3
0.085726022720337 Seconds
Output for 5.5.2
0.088268995285034 Seconds
Output for 5.5.1
0.071635961532593 Seconds
Output for 5.5.0
0.089072942733765 Seconds
Output for 5.4.45
0.068921089172363 Seconds
Output for 5.4.44
0.068567991256714 Seconds
Output for 5.4.43
0.069293022155762 Seconds
Output for 5.4.42
0.057318925857544 Seconds
Output for 5.4.41
0.073563098907471 Seconds
Output for 5.4.40
0.058322906494141 Seconds
Output for 5.4.39
0.082971096038818 Seconds
Output for 5.4.38
0.080903053283691 Seconds
Output for 5.4.37
0.063915967941284 Seconds
Output for 5.4.36
0.081439018249512 Seconds
Output for 5.4.35
0.077121019363403 Seconds
Output for 5.4.34
0.068135976791382 Seconds
Output for 5.4.32
0.063792943954468 Seconds
Output for 5.4.31
0.083430051803589 Seconds
Output for 5.4.30
0.075940847396851 Seconds
Output for 5.4.29
0.076255083084106 Seconds
Output for 5.4.28
0.06611180305481 Seconds
Output for 5.4.27
0.072770118713379 Seconds
Output for 5.4.26
0.078064918518066 Seconds
Output for 5.4.25
0.066365003585815 Seconds
Output for 5.4.24
0.060827016830444 Seconds
Output for 5.4.23
0.05798602104187 Seconds
Output for 5.4.22
0.064079999923706 Seconds
Output for 5.4.21
0.080106973648071 Seconds
Output for 5.4.20
0.069551944732666 Seconds
Output for 5.4.19
0.06498908996582 Seconds
Output for 5.4.18
0.070241212844849 Seconds
Output for 5.4.17
0.071252107620239 Seconds
Output for 5.4.16
0.071470022201538 Seconds
Output for 5.4.15
0.079739093780518 Seconds
Output for 5.4.14
0.075392961502075 Seconds
Output for 5.4.13
0.085570096969604 Seconds
Output for 5.4.12
0.096121072769165 Seconds
Output for 5.4.11
0.092751979827881 Seconds
Output for 5.4.10
0.078544855117798 Seconds
Output for 5.4.9
0.086314916610718 Seconds
Output for 5.4.8
0.070120096206665 Seconds
Output for 5.4.7
0.065034151077271 Seconds
Output for 5.4.6
0.098673105239868 Seconds
Output for 5.4.5
0.082634925842285 Seconds
Output for 5.4.4
0.082405090332031 Seconds
Output for 5.4.3
0.072458982467651 Seconds
Output for 5.4.2
0.079283952713013 Seconds
Output for 5.4.1
0.080054998397827 Seconds
Output for 5.4.0
0.069860935211182 Seconds
Output for 5.3.29
0.084410905838013 Seconds
Output for 5.3.28
0.075345993041992 Seconds
Output for 5.3.27
0.095125913619995 Seconds
Output for 5.3.26
0.093140125274658 Seconds
Output for 5.3.25
0.075124025344849 Seconds
Output for 5.3.24
0.077688932418823 Seconds
Output for 5.3.23
0.089776039123535 Seconds
Output for 5.3.22
0.068543910980225 Seconds
Output for 5.1.0, 5.3.21
0.091360092163086 Seconds
Output for 5.3.20
0.08562183380127 Seconds
Output for 5.3.19
0.066606998443604 Seconds
Output for 5.3.18
0.072812080383301 Seconds
Output for 5.3.17
0.079844951629639 Seconds
Output for 5.3.16
0.085268974304199 Seconds
Output for 5.3.15
0.076350927352905 Seconds
Output for 5.3.14
0.085905790328979 Seconds
Output for 5.3.13
0.074944019317627 Seconds
Output for 5.3.12
0.092322111129761 Seconds
Output for 5.3.11
0.086679935455322 Seconds
Output for 5.3.10
0.080590009689331 Seconds
Output for 5.3.9
0.08316707611084 Seconds
Output for 5.3.8
0.086302042007446 Seconds
Output for 5.3.7
0.095335006713867 Seconds
Output for 5.3.6
0.10166311264038 Seconds
Output for 5.3.5
0.097878217697144 Seconds
Output for 5.3.4
0.096203088760376 Seconds
Output for 5.3.3
0.080252170562744 Seconds
Output for 5.3.2
0.10278797149658 Seconds
Output for 5.3.1
0.09576416015625 Seconds
Output for 5.3.0
0.097596168518066 Seconds
Output for 5.2.17
0.091869831085205 Seconds
Output for 5.2.16
0.1020519733429 Seconds
Output for 5.2.15
0.091775894165039 Seconds
Output for 5.2.14
0.081371068954468 Seconds
Output for 5.2.13
0.09550404548645 Seconds
Output for 5.2.12
0.08224892616272 Seconds
Output for 5.2.11
0.10509085655212 Seconds
Output for 5.2.10
0.10293698310852 Seconds
Output for 5.2.9
0.091459989547729 Seconds
Output for 5.2.8
0.091142177581787 Seconds
Output for 5.2.7
0.094947099685669 Seconds
Output for 5.2.6
0.089546918869019 Seconds
Output for 5.2.5
0.082573890686035 Seconds
Output for 5.2.4
0.0851891040802 Seconds
Output for 5.2.3
0.097145795822144 Seconds
Output for 5.2.2
0.10206913948059 Seconds
Output for 5.2.1
0.093540906906128 Seconds
Output for 5.2.0
0.10039401054382 Seconds
Output for 5.1.6
0.099372148513794 Seconds
Output for 5.1.5
0.10681700706482 Seconds
Output for 5.1.4
0.094600915908813 Seconds
Output for 5.1.3
0.10590696334839 Seconds
Output for 5.1.2
0.10916709899902 Seconds
Output for 5.1.1
0.10528111457825 Seconds
Output for 5.0.5
0.15402793884277 Seconds
Output for 5.0.4
0.11794090270996 Seconds
Output for 5.0.3
0.15323805809021 Seconds
Output for 5.0.2
0.1554479598999 Seconds
Output for 5.0.1
0.15925598144531 Seconds
Output for 5.0.0
0.14584898948669 Seconds
Output for 4.4.9
0.152841 Seconds
Output for 4.4.8
0.123123 Seconds
Output for 4.4.7
0.153765 Seconds
Output for 4.4.6
0.147665 Seconds
Output for 4.4.5
0.135649 Seconds
Output for 4.4.4
0.130265 Seconds
Output for 4.4.3
0.149308 Seconds
Output for 4.4.2
0.148253 Seconds
Output for 4.4.1
0.190142 Seconds
Output for 4.4.0
0.130324 Seconds
Output for 4.3.11
0.11387 Seconds
Output for 4.3.10
0.124049 Seconds
Output for 4.3.9
0.109086 Seconds
Output for 4.3.8
0.109285 Seconds
Output for 4.3.7
0.119716 Seconds
Output for 4.3.6
0.146395 Seconds
Output for 4.3.5
0.139414 Seconds
Output for 4.3.4
0.129284 Seconds
Output for 4.3.3
0.1307 Seconds
Output for 4.3.2
0.57219 Seconds
Output for 4.3.1
0.523501 Seconds
Output for 4.3.0
0.590703 Seconds