3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $null = NULL; $empty = ''; $start=microtime(TRUE); for($i=0;$i<10000000;$i++) { if($null === NULL) { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<10000000;$i++) { if($empty === '') { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<10000000;$i++) { if(!isset($null)) { } } var_export(microtime(TRUE)-$start); echo "\n";
Output for 7.1.0
-0.19617700576782227 -0.25973987579345703 -0.20092415809631348
Output for 7.0.14
0.15093994140625 0.16478395462036133 0.13216900825500488
Output for 7.0.6
0.1164791584014892578125 0.1384360790252685546875 0.1655209064483642578125
Output for 7.0.5
0.1355340480804443359375 0.1722698211669921875 0.2039711475372314453125
Output for 7.0.4
0.1205461025238037109375 0.1473290920257568359375 0.1563470363616943359375
Output for 7.0.3
0.125977039337158203125 0.147457122802734375 0.158583164215087890625
Output for 7.0.2
0.1352941989898681640625 0.172646045684814453125 0.1840190887451171875
Output for 7.0.1
0.1067688465118408203125 0.146010875701904296875 0.163677215576171875
Output for 7.0.0
0.1251819133758544921875 0.1386749744415283203125 0.1563160419464111328125
Output for hhvm-3.12.0
0.40012812614441 0.57686901092529 0.52144694328308
Output for hhvm-3.10.0
0.46981310844421 0.61171698570251 0.4435760974884
Output for 5.6.28
0.5371861457824707 0.50609493255615234 0.53511309623718262
Output for 5.6.21
0.3309309482574462890625 0.3399589061737060546875 0.3472549915313720703125
Output for 5.6.20
0.3474781513214111328125 0.340260982513427734375 0.356398105621337890625
Output for 5.6.19
0.331261157989501953125 0.342237949371337890625 0.37485790252685546875
Output for 5.6.18
0.3792030811309814453125 0.426126003265380859375 0.394023895263671875
Output for 5.6.17
0.335339069366455078125 0.3481590747833251953125 0.3697469234466552734375
Output for 5.6.16
0.329123020172119140625 0.341042041778564453125 0.353438854217529296875
Output for 5.6.15
0.4393899440765380859375 0.3603971004486083984375 0.3620851039886474609375
Output for 5.6.14
0.3090240955352783203125 0.3297760486602783203125 0.35058498382568359375
Output for 5.6.13
0.3412120342254638671875 0.33957004547119140625 0.35575103759765625
Output for 5.6.12
0.333835124969482421875 0.34815216064453125 0.3522469997406005859375
Output for 5.6.11
0.322272777557373046875 0.3395979404449462890625 0.3549041748046875
Output for 5.6.10
0.3320448398590087890625 0.3393299579620361328125 0.3674449920654296875
Output for 5.6.9
0.337172985076904296875 0.339865207672119140625 0.3549411296844482421875
Output for 5.6.8
0.34195995330810546875 0.340217113494873046875 0.354785919189453125
Output for 5.6.7
0.35060214996337890625 0.363894939422607421875 0.3984210491180419921875
Output for 5.5.35
0.3471090793609619140625 0.402844905853271484375 0.3349630832672119140625
Output for 5.5.34
0.3485028743743896484375 0.339725017547607421875 0.355926990509033203125
Output for 5.5.33
0.30961704254150390625 0.3306789398193359375 0.358542919158935546875
Output for 5.5.32
0.320496082305908203125 0.333209991455078125 0.3519990444183349609375
Output for 5.5.31
0.3130009174346923828125 0.3259899616241455078125 0.3520901203155517578125
Output for 5.5.30
0.337439060211181640625 0.34101390838623046875 0.3555519580841064453125
Output for 5.5.29
0.3511331081390380859375 0.3410129547119140625 0.3554179668426513671875
Output for 5.5.28
0.324800014495849609375 0.3410699367523193359375 0.3574559688568115234375
Output for 5.5.27
0.3190181255340576171875 0.33222484588623046875 0.3512618541717529296875
Output for 5.5.26
0.32674694061279296875 0.3404328823089599609375 0.3530881404876708984375
Output for 5.5.25
0.3233501911163330078125 0.3682639598846435546875 0.35251522064208984375
Output for 5.5.24
0.3275129795074462890625 0.3441541194915771484375 0.3448679447174072265625
Output for 5.4.45
0.3047511577606201171875 0.3468539714813232421875 0.7510578632354736328125
Output for 5.4.44
0.7471878528594970703125 0.491879940032958984375 0.7967360019683837890625
Output for 5.4.43
0.5548479557037353515625 0.591169834136962890625 0.421247005462646484375
Output for 5.4.42
0.3064739704132080078125 0.562098026275634765625 0.434091091156005859375
Output for 5.4.41
0.467461109161376953125 0.398827075958251953125 0.9338481426239013671875
Output for 5.4.40
0.8307459354400634765625 0.4476528167724609375 0.638327121734619140625
Output for 5.4.39
0.621757984161376953125 0.7640149593353271484375 0.400187015533447265625
Output for 5.4.38
0.472034931182861328125 0.4759700298309326171875 0.6768109798431396484375
Output for 5.4.37
0.666616916656494140625 0.47894001007080078125 0.4790909290313720703125
Output for 5.4.36
0.68729305267333984375 0.4804229736328125 0.4890029430389404296875
Output for 5.4.35
0.4740111827850341796875 0.48365306854248046875 0.4984409809112548828125
Output for 5.4.34
0.4976260662078857421875 0.4778668880462646484375 0.5405819416046142578125
Output for 5.4.32
0.34436798095703125 0.3725879192352294921875 0.373983860015869140625
Output for 5.4.31
0.341125011444091796875 0.53859806060791015625 0.37710094451904296875
Output for 5.4.30
0.3522989749908447265625 0.3847630023956298828125 0.4433448314666748046875
Output for 5.4.29
0.3634130954742431640625 0.376696109771728515625 0.4134671688079833984375
Output for 5.4.28
0.5352001190185546875 0.5667870044708251953125 0.5636279582977294921875
Output for 5.4.27
0.363419055938720703125 0.372745037078857421875 0.4331610202789306640625
Output for 5.4.26
0.543469905853271484375 0.594357013702392578125 0.5680439472198486328125
Output for 5.4.25
0.3548510074615478515625 0.36332798004150390625 0.4286401271820068359375
Output for 5.4.24
0.378324031829833984375 0.3816859722137451171875 0.4185359477996826171875
Output for 5.4.23
0.34644603729248046875 0.404582977294921875 0.6041049957275390625
Output for 5.4.22
0.38179111480712890625 0.3877389430999755859375 0.5923230648040771484375
Output for 5.4.21
0.36534190177917 0.40389800071716 0.40889883041382
Output for 5.4.20
0.34999108314514 0.42583203315735 0.43898797035217
Output for 5.4.19
0.51783108711243 0.39386105537415 0.41812801361084
Output for 5.4.18
0.53950786590576 0.42267608642578 0.4068431854248
Output for 5.4.17
0.40736293792725 0.42380905151367 0.39567708969116
Output for 5.4.16
0.53535509109497 0.42201399803162 0.47034811973572
Output for 5.4.15
0.46857213973999 0.49933314323425 0.43941807746887
Output for 5.4.14
0.43132400512695 0.54519701004028 0.53143382072449
Output for 5.4.13
0.43649911880493 0.54658699035645 0.41968393325806
Output for 5.4.12
0.41010189056396 0.43193197250366 0.4029700756073
Output for 5.4.11
0.34969902038574 0.3794059753418 0.40948891639709
Output for 5.4.10
0.35972595214844 0.42090702056885 0.43321704864502
Output for 5.4.9
0.34935402870178 0.38057279586792 0.41517615318298
Output for 5.4.8
0.34496808052063 0.38466286659241 0.44614291191101
Output for 5.4.7
0.35588598251343 0.4185471534729 0.41317915916443
Output for 5.4.6
0.35767102241516 0.37306594848633 0.42785096168518
Output for 5.4.5
0.3447699546814 0.39545202255249 0.42624092102051
Output for 5.4.4
0.67109894752502 0.79295301437378 0.74345397949219
Output for 5.4.3
0.42971515655518 0.53924584388733 0.99929213523865
Output for 5.4.2
0.55198502540588 0.52774095535278 0.53891086578369
Output for 5.4.1
0.46944499015808 0.52976703643799 0.52775597572327
Output for 5.4.0
0.51772499084473 0.55732393264771 0.5450439453125
Output for 5.3.29
0.42472815513611 0.46379613876343 0.55591797828674
Output for 5.3.28
0.63345694541931 0.64927291870117 0.57675004005432
Output for 5.3.27
0.45459699630737 0.4511239528656 0.53801012039185
Output for 5.3.26
0.48533415794373 0.49330711364746 0.48206114768982
Output for 5.3.25
0.42757487297058 0.44722604751587 0.48035001754761
Output for 5.3.24
0.43881106376648 0.45338082313538 0.54238104820251
Output for 5.3.23
0.47031402587891 0.43688201904297 0.55235195159912
Output for 5.3.22
0.41908407211304 0.45802879333496 0.50628399848938
Output for 5.3.21
0.41151785850525 0.44229102134705 0.48455190658569
Output for 5.3.20
0.43609499931335 0.4443039894104 0.47382998466492
Output for 5.3.19
0.42040300369263 0.46907997131348 0.49046587944031
Output for 5.3.18
0.58412313461304 0.44056797027588 0.624587059021
Output for 5.3.17
0.45513606071472 0.48526906967163 0.68498802185059
Output for 5.3.16
0.47439503669739 0.48397898674011 0.51351499557495
Output for 5.3.15
0.47602200508118 0.50525307655334 0.63489603996277
Output for 5.3.14
0.59076595306396 0.66556692123413 0.68696999549866
Output for 5.3.13
0.4477698802948 0.44439077377319 0.51977896690369
Output for 5.3.12
0.43133592605591 0.48903703689575 0.48277711868286
Output for 5.3.11
0.44583296775818 0.46603393554688 0.53428411483765
Output for 5.3.10
0.43629908561707 0.44273996353149 0.49183797836304
Output for 5.3.9
0.47377490997314 0.47787499427795 0.6594409942627
Output for 5.3.8
0.43699407577515 0.45425200462341 0.70818400382996
Output for 5.3.7
0.4868791103363 0.65196895599365 0.58394694328308
Output for 5.3.6
0.48485708236694 0.52382516860962 0.68397903442383
Output for 5.3.5
0.62777280807495 0.62799596786499 0.69780802726746
Output for 5.3.4
0.5154230594635 0.70975089073181 0.48248600959778
Output for 5.3.3
0.4539909362793 0.50296807289124 0.48640298843384
Output for 5.3.2
0.45627784729004 0.49569797515869 0.58425688743591
Output for 5.3.1
0.66871404647827 0.65952086448669
Process exited with code 137.
Output for 5.3.0
0.59135389328003 0.55235409736633 0.53545212745667
Output for 5.2.17
0.67516708374023 0.61242508888245
Process exited with code 137.
Output for 5.2.16
0.57948398590088 0.60620307922363
Process exited with code 137.
Output for 5.2.15
0.67370414733887 0.60138320922852
Process exited with code 137.
Output for 5.2.14
0.55318117141724 0.61697101593018 0.78107881546021
Output for 5.2.13
0.74862885475159 0.7591450214386
Process exited with code 137.
Output for 5.2.12
0.92932319641113 1.0748419761658
Process exited with code 137.
Output for 5.2.11
0.56230401992798 0.60443902015686
Process exited with code 137.
Output for 5.2.10
0.5968189239502 0.72926998138428
Process exited with code 137.
Output for 5.2.9
0.59994888305664 0.66743302345276 0.73168611526489
Output for 5.2.8
0.61097598075867 0.62639999389648
Process exited with code 137.
Output for 5.2.7
0.69291210174561 0.78596901893616
Process exited with code 137.
Output for 5.2.6
0.74760103225708 0.93125486373901
Process exited with code 137.
Output for 5.2.5
0.59978413581848 0.67434191703796 0.70757699012756
Output for 5.2.4
0.65229797363281 0.77304100990295
Process exited with code 137.
Output for 5.2.3
0.80075001716614 0.94809293746948
Process exited with code 137.
Output for 5.2.2
0.85191583633423 1.3535249233246
Process exited with code 137.
Output for 5.2.1
0.57192206382751 0.7281801700592
Process exited with code 137.
Output for 5.2.0
0.62277388572693 0.62045216560364 0.75338792800903
Output for 5.1.6
0.60630488395691 0.64465808868408
Process exited with code 137.
Output for 5.1.5
0.63569498062134 0.64142203330994
Process exited with code 137.
Output for 5.1.4
0.56286287307739 0.66202712059021 0.78194308280945
Output for 5.1.3
0.63180708885193 0.77568888664246
Process exited with code 137.
Output for 5.1.2
1.5815229415894
Process exited with code 137.
Output for 5.1.1
1.3406307697296
Process exited with code 137.
Output for 5.1.0
1.6935639381409
Process exited with code 137.
Output for 4.3.0 - 5.0.5

Process exited with code 137.