3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function noop($d){return $d;} $d = '';$i=$e=0; $start = microtime(1); while($i++ < 5000000) $d = str_rot13('rotate 13'); echo microtime(1) - $start; echo "\n"; $start = microtime(1); while($e++ < 5000000) $d = noop('rotate 13'); echo microtime(1) - $start;
Output for 7.1.0
1.1580710411072 -0.031961917877197
Output for 7.0.14
1.1020379066467 0.11460900306702
Output for 7.0.12
1.1676540374756 0.11377000808716
Output for 7.0.10
1.1960589885712 0.10229301452637
Output for 7.0.9
1.1606090068817 0.099670886993408
Output for 7.0.8
1.0574769973755 0.10007214546204
Output for 7.0.7
1.1780540943146 0.11325979232788
Output for 7.0.6
1.1295409202576 0.10222005844116
Output for 7.0.5
1.1441469192505 0.099905967712402
Output for 7.0.4
1.2714991569519 0.099867105484009
Output for 7.0.3
1.2305150032043 0.099935054779053
Output for 7.0.2
1.0295100212097 0.10254406929016
Output for 7.0.1
1.2245190143585 0.099720001220703
Output for 7.0.0
1.2373540401459 0.12270188331604
Output for hhvm-3.12.0

Process exited with code 137.
Output for hhvm-3.10.0
1.4482069015503
Process exited with code 137.
Output for 5.6.28
1.1718461513519 0.40022802352905
Output for 5.6.25
1.1283719539642 0.37647294998169
Output for 5.6.24
1.1739518642426 0.42030906677246
Output for 5.6.23
1.078742980957 0.39803910255432
Output for 5.6.22
1.0991668701172 0.3933482170105
Output for 5.6.21
1.1886959075928 0.39275693893433
Output for 5.6.20
1.113972902298 0.38630485534668
Output for 5.6.19
1.1569600105286 0.40716505050659
Output for 5.6.18
1.2043869495392 0.38681101799011
Output for 5.6.17
1.0565710067749 0.37448716163635
Output for 5.6.16
1.1210069656372 0.37397408485413
Output for 5.6.15
1.084625005722 0.37300086021423
Output for 5.6.14
1.0434398651123 0.38000583648682
Output for 5.6.13
1.1203939914703 0.39560198783875
Output for 5.6.12
1.0545539855957 0.42194986343384
Output for 5.6.11
0.96312594413757 0.40928196907043
Output for 5.6.10
1.0136411190033 0.38601684570312
Output for 5.6.9
1.0998001098633 0.38449597358704
Output for 5.6.8
1.1059641838074 0.38212013244629
Output for 5.6.7
1.1191279888153 0.39074110984802
Output for 5.6.6
1.1272931098938 0.38509893417358
Output for 5.6.5
1.0823011398315 0.38299202919006
Output for 5.6.4
1.1311478614807 0.38202595710754
Output for 5.6.3
1.1182141304016 0.43223094940186
Output for 5.6.2
1.1297888755798 0.44649696350098
Output for 5.6.1
1.1067888736725 0.39629602432251
Output for 5.6.0
0.9971649646759 0.37604904174805
Output for 5.5.38
1.2634179592133 0.53407311439514
Output for 5.5.37
1.1582679748535 0.42293810844421
Output for 5.5.36
1.0936717987061 0.45316910743713
Output for 5.5.35
1.1152510643005 0.38736200332642
Output for 5.5.34
1.028844833374 0.38107109069824
Output for 5.5.33
1.1316728591919 0.38443279266357
Output for 5.5.32
1.1545550823212 0.39174103736877
Output for 5.5.31
1.1937139034271 0.37870311737061
Output for 5.5.30
1.1074879169464 0.37551498413086
Output for 5.5.29
0.99350905418396 0.38365411758423
Output for 5.5.28
1.0670521259308 0.38724207878113
Output for 5.5.27
1.1710889339447 0.38817405700684
Output for 5.5.26
1.1236178874969 0.37872290611267
Output for 5.5.25
1.1121530532837 0.37866711616516
Output for 5.5.24
1.1044290065765 0.37701988220215
Output for 5.5.23
1.1382069587708 0.38358879089355
Output for 5.5.22
1.1335420608521 0.38046789169312
Output for 5.5.21
1.1734762191772 0.37393712997437
Output for 5.5.20
1.0033531188965 0.38022303581238
Output for 5.5.19
1.1857559680939 0.37818217277527
Output for 5.5.18
1.2174081802368 0.37405800819397
Output for 5.5.16
1.0813751220703 0.37501692771912
Output for 5.5.15
1.1079909801483 0.38163614273071
Output for 5.5.14
1.1927528381348 0.3771231174469
Output for 5.5.13
1.1478369235992 0.39672994613647
Output for 5.5.12
1.2095000743866 0.4893970489502
Output for 5.5.11
1.1322548389435 0.37746405601501
Output for 5.5.10
0.98881602287292 0.37855291366577
Output for 5.5.9
1.172504901886 0.37994289398193
Output for 5.5.8
1.2039740085602 0.37544393539429
Output for 5.5.7
1.2103390693665 0.38643002510071
Output for 5.5.6
1.1021950244904 0.38821387290955
Output for 5.5.5
1.1446537971497 0.38919496536255
Output for 5.5.4
1.119295835495 0.39110088348389
Output for 5.5.3
1.2137970924377 0.56058382987976
Output for 5.5.2
1.1203398704529 0.40255117416382
Output for 5.5.1
1.2009642124176 0.41509795188904
Output for 5.5.0
1.0096981525421 0.41381692886353
Output for 5.4.45
1.0572850704193 0.37998604774475
Output for 5.4.44
1.1623599529266 0.38620710372925
Output for 5.4.43
1.1298480033875 0.38094115257263
Output for 5.4.42
1.0809869766235 0.39510798454285
Output for 5.4.41
1.1189148426056 0.39203405380249
Output for 5.4.40
0.98976111412048 0.39678692817688
Output for 5.4.39
1.1973209381104 0.42015194892883
Output for 5.4.38
1.1716411113739 0.37985396385193
Output for 5.4.37
1.1161499023438 0.38271808624268
Output for 5.4.36
1.1696920394897 0.38056111335754
Output for 5.4.35
1.0165820121765 0.3845431804657
Output for 5.4.34
1.1464331150055 0.38534593582153
Output for 5.4.32
1.1837949752808 0.50809478759766
Output for 5.4.31
1.2418529987335 0.49374914169312
Output for 5.4.30
1.2367491722107 0.49505305290222
Output for 5.4.29
1.1124138832092 0.38448882102966
Output for 5.4.28
1.190258026123 0.42261409759521
Output for 5.4.27
1.1522619724274 0.38170790672302
Output for 5.4.26
1.1271321773529 0.37252902984619
Output for 5.4.25
1.1360301971436 0.38266921043396
Output for 5.4.24
1.1264569759369 0.37269401550293
Output for 5.4.23
1.1951410770416 0.39353919029236
Output for 5.4.22
1.1546790599823 0.40077018737793
Output for 5.4.21
1.1278841495514 0.39050698280334
Output for 5.4.20
1.1311440467834 0.38071703910828
Output for 5.4.19
1.1070108413696 0.38104009628296
Output for 5.4.18
1.1021909713745 0.3947172164917
Output for 5.4.17
0.98557186126709 0.37006402015686
Output for 5.4.16
1.0923309326172 0.37430095672607
Output for 5.4.15
1.129585981369 0.37329792976379
Output for 5.4.14
1.1387619972229 0.38785004615784
Output for 5.4.13
1.112920999527 0.38363409042358
Output for 5.4.12
1.1230499744415 0.38658499717712
Output for 5.4.11
1.1071438789368 0.38410401344299
Output for 5.4.10
1.0931370258331 0.40169882774353
Output for 5.4.9
1.2133929729462 0.37125992774963
Output for 5.4.8
1.1542978286743 0.38285613059998
Output for 5.4.7
1.0900349617004 0.38144302368164
Output for 5.4.6
1.082123041153 0.37731790542603
Output for 5.4.5
1.1387131214142 0.36758208274841
Output for 5.4.4
1.0997149944305 0.36807799339294
Output for 5.4.3
1.0063149929047 0.38363099098206
Output for 5.4.2
1.1102709770203 0.37067198753357
Output for 5.4.1
1.095192193985 0.37556982040405
Output for 5.4.0
1.0150430202484 0.40486717224121
Output for 5.3.29
1.2565560340881 0.70126795768738
Output for 5.3.28
1.2513799667358 0.70995211601257
Output for 5.3.27
1.1519441604614 0.69580483436584
Output for 5.3.26
1.3680109977722 0.88735890388489
Output for 5.3.25
1.0927820205688 0.7182559967041
Output for 5.3.24
1.230241060257 0.71329402923584
Output for 5.3.23
1.3071761131287 0.72952103614807
Output for 5.3.22
1.242595911026 0.70588302612305
Output for 5.3.21
1.4039950370789 0.72016286849976
Output for 5.3.20
1.3450109958649 0.71954011917114
Output for 5.3.19
1.3584699630737 0.70023393630981
Output for 5.3.18
1.3471369743347 0.71950888633728
Output for 5.3.17
1.269749879837 0.70231890678406
Output for 5.3.16
1.2734520435333 0.70926809310913
Output for 5.3.15
1.3828868865967 0.87114191055298
Output for 5.3.14
1.2679450511932 0.7286159992218
Output for 5.3.13
1.4436240196228 0.7226779460907
Output for 5.3.12
1.4564800262451 0.8646228313446
Output for 5.3.11
1.4415850639343 0.87681293487549
Output for 5.3.10
1.1833329200745 0.70504999160767
Output for 5.3.9
1.4153847694397 0.86912608146667
Output for 5.3.8
1.2428319454193 0.70897388458252
Output for 5.3.7
1.0829601287842 0.70425796508789
Output for 5.3.6
1.3588080406189 0.89206695556641
Output for 5.3.5
1.1699531078339 0.74788904190063
Output for 5.3.4
1.3415319919586 0.71696591377258
Output for 5.3.3
1.2611980438232 0.71869516372681
Output for 5.3.2
1.2184970378876 0.70216083526611
Output for 5.3.1
1.2057480812073 0.72423601150513
Output for 5.3.0
1.2469601631165 0.71432399749756
Output for 5.2.17
1.1675481796265 0.93319606781006
Output for 5.2.16
1.3598780632019 0.96167302131653
Output for 5.2.15
1.3703491687775 0.94862198829651
Output for 5.2.14
1.4592189788818
Process exited with code 137.
Output for 5.2.13
1.3107881546021 0.94284391403198
Output for 5.2.12
1.2146179676056 0.93772006034851
Output for 5.2.11
1.2132949829102 0.95079183578491
Output for 5.2.10
1.3602499961853 0.95913195610046
Output for 5.2.9
1.3294658660889 0.94286012649536
Output for 5.2.8
1.3344469070435 0.97003698348999
Output for 5.2.7
1.3043460845947
Process exited with code 137.
Output for 5.2.6
1.4255268573761
Process exited with code 137.
Output for 5.2.5
1.330491065979 0.93640685081482
Output for 5.2.4
1.4549190998077
Process exited with code 137.
Output for 5.2.3
1.316694021225 0.93816089630127
Output for 5.2.2
1.3977270126343 0.99381303787231
Output for 5.2.1
1.3853549957275
Process exited with code 137.
Output for 5.2.0
1.2716999053955 0.93957805633545
Output for 5.1.6
1.4091901779175
Process exited with code 137.
Output for 5.1.5
1.2208378314972 0.92472815513611
Output for 5.1.4
1.2874979972839 0.91961479187012
Output for 5.1.3
1.201112985611
Process exited with code 137.
Output for 5.1.2
1.3019680976868 0.92889809608459
Output for 5.1.1
1.2651958465576 0.92052888870239
Output for 5.1.0
1.3732850551605 0.90658497810364
Output for 5.0.5
1.5154030323029
Process exited with code 137.
Output for 5.0.4
1.5281660556793
Process exited with code 137.
Output for 5.0.3
1.7536499500275
Process exited with code 137.
Output for 5.0.2
1.7531471252441
Process exited with code 137.
Output for 5.0.1
1.7316238880157
Process exited with code 137.
Output for 5.0.0
1.4708840847015
Process exited with code 137.
Output for 4.4.9
0.659141
Process exited with code 137.
Output for 4.4.8
0.660839
Process exited with code 137.
Output for 4.4.7
0.602894
Process exited with code 137.
Output for 4.4.6
0.636003
Process exited with code 137.
Output for 4.4.5
0.579831
Process exited with code 137.
Output for 4.4.4
0.570019
Process exited with code 137.
Output for 4.4.3
0.480227
Process exited with code 137.
Output for 4.4.2
0.591827
Process exited with code 137.
Output for 4.4.1
0.5698
Process exited with code 137.
Output for 4.4.0
0.547929
Process exited with code 137.
Output for 4.3.11
0.624257
Process exited with code 137.
Output for 4.3.10
0.641406
Process exited with code 137.
Output for 4.3.9
0.572382
Process exited with code 137.
Output for 4.3.8
0.601796
Process exited with code 137.
Output for 4.3.7
0.586321
Process exited with code 137.
Output for 4.3.6
0.610571
Process exited with code 137.
Output for 4.3.5
0.599823
Process exited with code 137.
Output for 4.3.4
0.471027
Process exited with code 137.
Output for 4.3.3
0.784499
Process exited with code 137.
Output for 4.3.2
0.607437
Process exited with code 137.
Output for 4.3.1
0.616663
Process exited with code 137.
Output for 4.3.0
0.611346
Process exited with code 137.