3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $m = microtime(1); for ($i=0;$i<10000000;$i++) { $test = 40 == 40; } print microtime(1) - $m . "\n"; $m = microtime(1); for ($i=0;$i<10000000;$i++) { $test = 40 === 40; } print microtime(1) - $m;
Output for 7.1.0
0.12600302696228 0.097344875335693
Output for 7.0.14
0.13436698913574 0.1156280040741
Output for 7.0.10
0.15255188941956 0.12758016586304
Output for 7.0.9
0.11550283432007 0.099102020263672
Output for 7.0.8
0.10899019241333 0.10067081451416
Output for 7.0.7
0.13896894454956 0.10065793991089
Output for 7.0.6
0.13533496856689 0.10971903800964
Output for 7.0.5
0.12537789344788 0.10799908638
Output for 7.0.4
0.11920213699341 0.10515809059143
Output for 7.0.3
0.10521006584167 0.10532116889954
Output for 7.0.2
0.10505700111389 0.10549283027649
Output for 7.0.1
0.10896897315979 0.10196590423584
Output for 7.0.0
0.10045385360718 0.10088706016541
Output for 5.6.28
0.57293701171875 0.54295206069946
Output for 5.6.25
0.28507685661316 0.30465507507324
Output for 5.6.24
0.30991196632385 0.31937694549561
Output for 5.6.23
0.31569194793701 0.32211899757385
Output for 5.6.22
0.31984114646912 0.32540082931519
Output for 5.6.21
0.28852486610413 0.32289695739746
Output for 5.6.20
0.29264688491821 0.32216715812683
Output for 5.6.19
0.28460812568665 0.32383608818054
Output for 5.6.18
0.30701398849487 0.34034490585327
Output for 5.6.17
0.27916288375854 0.2953679561615
Output for 5.6.16
0.2936098575592 0.31983780860901
Output for 5.6.15
0.32560706138611 0.33049893379211
Output for 5.6.14
0.23140287399292 0.26643705368042
Output for 5.6.13
0.25196814537048 0.26604700088501
Output for 5.6.12
0.29345417022705 0.30696415901184
Output for 5.6.11
0.24741697311401 0.24738907814026
Output for 5.6.10
0.28748202323914 0.33195805549622
Output for 5.6.9
0.29681205749512 0.29966998100281
Output for 5.6.8
0.29058599472046 0.29956698417664
Output for 5.6.7
0.29301404953003 0.30460214614868
Output for 5.6.6
0.31794285774231 0.29956316947937
Output for 5.6.5
0.24796509742737 0.28754496574402
Output for 5.6.4
0.28920197486877 0.30050611495972
Output for 5.6.3
0.2994167804718 0.30100512504578
Output for 5.6.2
0.32073998451233 0.31402707099915
Output for 5.6.1
0.30777311325073 0.3011109828949
Output for 5.6.0
0.34554600715637 0.30905604362488
Output for 5.5.38
0.30663800239563 0.31492304801941
Output for 5.5.37
0.30847215652466 0.3153338432312
Output for 5.5.36
0.3137629032135 0.34101891517639
Output for 5.5.35
0.28521490097046 0.3011109828949
Output for 5.5.34
0.29182195663452 0.32721400260925
Output for 5.5.33
0.31532192230225 0.30486011505127
Output for 5.5.32
0.2907919883728 0.29982209205627
Output for 5.5.31
0.28699493408203 0.3228280544281
Output for 5.5.30
0.27938389778137 0.2714638710022
Output for 5.5.29
0.29926800727844 0.25820708274841
Output for 5.5.28
0.32459807395935 0.3001720905304
Output for 5.5.27
0.31965303421021 0.31436705589294
Output for 5.5.26
0.28175783157349 0.30392289161682
Output for 5.5.25
0.28281617164612 0.29573583602905
Output for 5.5.24
0.30334997177124 0.29999589920044
Output for 5.5.23
0.29421997070312 0.30199909210205
Output for 5.5.22
0.30190300941467 0.2998731136322
Output for 5.5.21
0.320641040802 0.3056480884552
Output for 5.5.20
0.2916841506958 0.30366206169128
Output for 5.5.19
0.25963807106018 0.24850797653198
Output for 5.5.18
0.32841897010803 0.29907703399658
Output for 5.5.16
0.25303721427917 0.29183602333069
Output for 5.5.15
0.2963011264801 0.30841708183289
Output for 5.5.14
0.31847906112671 0.30257487297058
Output for 5.5.13
0.27060317993164 0.25639510154724
Output for 5.5.12
0.2960159778595 0.31616306304932
Output for 5.5.11
0.31500792503357 0.30182504653931
Output for 5.5.10
0.31527400016785 0.30146217346191
Output for 5.5.9
0.30226302146912 0.29979181289673
Output for 5.5.8
0.31263303756714 0.30779981613159
Output for 5.5.7
0.2916259765625 0.29967904090881
Output for 5.5.6
0.28617286682129 0.30150413513184
Output for 5.5.5
0.28313088417053 0.29940891265869
Output for 5.5.4
0.3117401599884 0.30120897293091
Output for 5.5.3
0.31068396568298 0.30089902877808
Output for 5.5.2
0.30018901824951 0.29962396621704
Output for 5.5.1
0.26905202865601 0.26747012138367
Output for 5.5.0
0.2835841178894 0.26574301719666
Output for 5.4.45
0.30788707733154 0.29407596588135
Output for 5.4.44
0.29096579551697 0.29498505592346
Output for 5.4.43
0.27902507781982 0.25706601142883
Output for 5.4.42
0.30342602729797 0.3013060092926
Output for 5.4.41
0.36262011528015 0.32847499847412
Output for 5.4.40
0.29213786125183 0.29433488845825
Output for 5.4.39
0.25050616264343 0.25770688056946
Output for 5.4.38
0.31491994857788 0.2915780544281
Output for 5.4.37
0.32288217544556 0.29678392410278
Output for 5.4.36
0.30367493629456 0.29271483421326
Output for 5.4.35
0.29187393188477 0.29123115539551
Output for 5.4.34
0.29175496101379 0.29492592811584
Output for 5.4.32
0.29439997673035 0.29252099990845
Output for 5.4.31
0.32430696487427 0.30950784683228
Output for 5.4.30
0.28083896636963 0.28645491600037
Output for 5.4.29
0.3066828250885 0.29467487335205
Output for 5.4.28
0.3576819896698 0.3191339969635
Output for 5.4.27
0.31925296783447 0.29309606552124
Output for 5.4.26
0.29393315315247 0.29356288909912
Output for 5.4.25
0.29187917709351 0.28205394744873
Output for 5.4.24
0.30002689361572 0.29326605796814
Output for 5.4.23
0.3110499382019 0.30034399032593
Output for 5.4.22
0.28622007369995 0.29256701469421
Output for 5.4.21
0.29375791549683 0.29163694381714
Output for 5.4.20
0.27249503135681 0.28392887115479
Output for 5.4.19
0.31777691841125 0.2905170917511
Output for 5.4.18
0.2601170539856 0.28579592704773
Output for 5.4.17
0.28408789634705 0.24785399436951
Output for 5.4.16
0.25487494468689 0.26145792007446
Output for 5.4.15
0.29756379127502 0.29280304908752
Output for 5.4.14
0.23731303215027 0.2434389591217
Output for 5.4.13
0.28880310058594 0.28104901313782
Output for 5.4.12
0.32280588150024 0.29100489616394
Output for 5.4.11
0.29506206512451 0.28882789611816
Output for 5.4.10
0.31430983543396 0.2942750453949
Output for 5.4.9
0.29997611045837 0.29878497123718
Output for 5.4.8
0.34408092498779 0.32688879966736
Output for 5.4.7
0.28639984130859 0.29060006141663
Output for 5.4.6
0.26533484458923 0.27937197685242
Output for 5.4.5
0.30548501014709 0.29361486434937
Output for 5.4.4
0.30853700637817 0.29167604446411
Output for 5.4.3
0.32776117324829 0.29221296310425
Output for 5.4.2
0.2619800567627 0.24145483970642
Output for 5.4.1
0.30851912498474 0.29224300384521
Output for 5.4.0
0.23983097076416 0.24226903915405
Output for 5.3.29
0.45809483528137 0.4173800945282
Output for 5.3.28
0.47243404388428 0.39451193809509
Output for 5.3.27
0.43881607055664 0.39414191246033
Output for 5.3.26
0.49034094810486 0.38075399398804
Output for 5.3.25
0.41354990005493 0.38218903541565
Output for 5.3.24
0.40778517723083 0.33966493606567
Output for 5.3.23
0.39955997467041 0.32997488975525
Output for 5.3.22
0.39203405380249 0.35476517677307
Output for 5.3.21
0.43319416046143 0.39554309844971
Output for 5.3.20
0.4321711063385 0.38563418388367
Output for 5.3.19
0.43026089668274 0.39421701431274
Output for 5.3.18
0.44903516769409 0.38244986534119
Output for 5.3.17
0.4530200958252 0.38623905181885
Output for 5.3.16
0.4508330821991 0.38620901107788
Output for 5.3.15
0.45061993598938 0.38879299163818
Output for 5.3.14
0.48763108253479 0.39739489555359
Output for 5.3.13
0.44065308570862 0.44295406341553
Output for 5.3.12
0.43887305259705 0.42991089820862
Output for 5.3.11
0.43069911003113 0.42880797386169
Output for 5.3.10
0.44921016693115 0.38633584976196
Output for 5.3.9
0.44189310073853 0.40131616592407
Output for 5.3.8
0.48555588722229 0.40031599998474
Output for 5.3.7
0.4901168346405 0.4588029384613
Output for 5.3.6
0.45833015441895 0.39793705940247
Output for 5.3.5
0.43762707710266 0.3962550163269
Output for 5.3.4
0.4430410861969 0.39311003684998
Output for 5.3.3
0.4591498374939 0.34629702568054
Output for 5.3.2
0.43315601348877 0.39728903770447
Output for 5.3.1
0.45423984527588 0.42717504501343
Output for 5.3.0
0.44622588157654 0.39986491203308
Output for 5.2.17
0.5481219291687 0.42808485031128
Output for 5.2.16
0.50963592529297 0.42776584625244
Output for 5.2.15
0.62094593048096 0.46077680587769
Output for 5.2.14
0.66937804222107 0.4884819984436
Output for 5.2.13
0.69551801681519 0.47268295288086
Output for 5.2.12
0.62852096557617 0.43929290771484
Output for 5.2.11
0.69704914093018 0.48823499679565
Output for 5.2.10
0.62809801101685 0.47037100791931
Output for 5.2.9
0.74321603775024 0.52719211578369
Output for 5.2.8
0.64474201202393 0.48269391059875
Output for 5.2.7
0.66496014595032 0.48763704299927
Output for 5.2.6
0.64498901367188 0.49254298210144
Output for 5.2.5
0.61346411705017 0.50979089736938
Output for 5.2.4
0.71353983879089 0.51231408119202
Output for 5.2.3
0.56378197669983 0.43802905082703
Output for 5.2.2
0.6381368637085 0.51530814170837
Output for 5.2.1
0.61423707008362 0.46543097496033
Output for 5.2.0
0.65941309928894 0.49481391906738
Output for 5.1.6
0.65724802017212 0.4920289516449
Output for 5.1.5
0.65875601768494 0.4669828414917
Output for 5.1.4
0.59716606140137 0.45825290679932
Output for 5.1.3
0.63941502571106 0.45723509788513
Output for 5.1.2
0.66104483604431 0.48446202278137
Output for 5.1.1
0.59586811065674 0.42692708969116
Output for 5.1.0
0.55478501319885 0.44091510772705
Output for 5.0.5
1.2849979400635 1.0895190238953
Output for 5.0.4

Process exited with code 137.
Output for 5.0.3
1.2606439590454 1.1444499492645
Output for 5.0.2
1.1456458568573 0.9489529132843
Output for 5.0.1
1.1113510131836 1.0512640476227
Output for 5.0.0
1.2150599956512 0.95299696922302
Output for 4.4.9
0.22145 -0.060904
Output for 4.4.8
0.227034 -0.047518
Output for 4.4.7
0.145545 -0.061769
Output for 4.4.6
0.165569 0.102738
Output for 4.4.5
0.230837 -0.042494
Output for 4.4.4
0.191864 -0.03726
Output for 4.4.3
0.253987 -0.026158
Output for 4.4.2
0.207206 -0.00604
Output for 4.4.1
0.160149 -0.008439
Output for 4.4.0
0.14763 -0.019733
Output for 4.3.11
0.077472 -0.019442
Output for 4.3.10
0.216123 -0.043269
Output for 4.3.9
0.185405 -0.036009
Output for 4.3.8
0.205096 0.026153
Output for 4.3.7
0.348731
Process exited with code 137.
Output for 4.3.6
0.1407 0.007672
Output for 4.3.5
0.194693 -0.002515
Output for 4.3.4
0.015519 0.953151
Output for 4.3.3
0.173047 -0.029998
Output for 4.3.2
0.051865 0.937156
Output for 4.3.1
0.279641 0.170291
Output for 4.3.0
0.313009
Process exited with code 137.