3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( microtime()); $array = array(); $i = 0; for($i=0;$i<10000;$i++){ $array['good'] = 2; } var_dump( microtime()); ?>
Output for 7.1.0
string(21) "0.00400900 1364761767" string(21) "0.00433800 1364761767"
Output for 7.0.14
string(21) "0.00386100 1364761767" string(21) "0.00418300 1364761767"
Output for 7.0.6
string(21) "0.52234800 1462270114" string(21) "0.52264400 1462270114"
Output for 7.0.5
string(21) "0.80303200 1459637565" string(21) "0.80324200 1459637565"
Output for 7.0.4
string(21) "0.21787100 1457606106" string(21) "0.21804700 1457606106"
Output for 7.0.3
string(21) "0.67417400 1458299906" string(21) "0.67441700 1458299906"
Output for 7.0.2
string(21) "0.65003600 1458666975" string(21) "0.65029100 1458666975"
Output for 7.0.1
string(21) "0.37650400 1458769202" string(21) "0.37668200 1458769202"
Output for 7.0.0
string(21) "0.61924900 1459033769" string(21) "0.61947900 1459033769"
Output for hhvm-3.12.0
string(21) "0.82613500 1457796046" string(21) "0.82676600 1457796046"
Output for hhvm-3.10.0
string(21) "0.06751500 1459344912" string(21) "0.06872400 1459344912"
Output for 5.6.28
string(21) "0.00432600 1364761767" string(21) "0.00522200 1364761767"
Output for 5.6.21
string(21) "0.87743100 1462166524" string(21) "0.87787900 1462166524"
Output for 5.6.20
string(21) "0.50270600 1460238228" string(21) "0.50313000 1460238228"
Output for 5.6.19
string(21) "0.00129800 1457375840" string(21) "0.00173400 1457375840"
Output for 5.6.18
string(21) "0.80805700 1458011460" string(21) "0.80855600 1458011460"
Output for 5.6.17
string(21) "0.13651100 1458401249" string(21) "0.13714600 1458401249"
Output for 5.6.16
string(21) "0.76192400 1459123637" string(21) "0.76258800 1459123637"
Output for 5.6.15
string(21) "0.10521700 1459213372" string(21) "0.10586300 1459213372"
Output for 5.6.14
string(21) "0.34333200 1459566878" string(21) "0.34383400 1459566878"
Output for 5.6.13
string(21) "0.29370000 1460704410" string(21) "0.29418500 1460704410"
Output for 5.6.12
string(21) "0.87447600 1461100236" string(21) "0.87508000 1461100236"
Output for 5.6.11
string(21) "0.54795600 1461384418" string(21) "0.54858000 1461384418"
Output for 5.6.10
string(21) "0.27714100 1461563599" string(21) "0.27779800 1461563599"
Output for 5.6.9
string(21) "0.30694000 1461754618" string(21) "0.30742400 1461754618"
Output for 5.6.8
string(21) "0.62493100 1461956838" string(21) "0.62548800 1461956838"
Output for 5.5.35
string(21) "0.49326800 1463908115" string(21) "0.49401700 1463908115"
Output for 5.5.34
string(21) "0.25690400 1460333100" string(21) "0.25761400 1460333100"
Output for 5.5.33
string(21) "0.77310000 1457472929" string(21) "0.77373200 1457472929"
Output for 5.5.32
string(21) "0.69187700 1458191124" string(21) "0.69232600 1458191124"
Output for 5.5.31
string(21) "0.87592100 1458497458" string(21) "0.87650200 1458497458"
Output for 5.5.30
string(21) "0.05175800 1459479449" string(21) "0.05220800 1459479449"
Output for 5.5.29
string(21) "0.93045400 1460841682" string(21) "0.93109700 1460841682"
Output for 5.5.28
string(21) "0.02149500 1461198620" string(21) "0.02192600 1461198620"
Output for 5.5.27
string(21) "0.98049600 1461293269" string(21) "0.98118400 1461293269"
Output for 5.5.26
string(21) "0.07439800 1461659123" string(21) "0.07484100 1461659123"
Output for 5.5.25
string(21) "0.47939700 1461855119" string(21) "0.48003900 1461855119"
Output for 5.5.24
string(21) "0.46073600 1464040750" string(21) "0.46127900 1464040750"
Output for 5.4.45
string(21) "0.16283500 1444977584" string(21) "0.16326700 1444977584"
Output for 5.4.44
string(21) "0.54137400 1444977584" string(21) "0.54183400 1444977584"
Output for 5.4.43
string(21) "0.92774700 1444977584" string(21) "0.92817000 1444977584"
Output for 5.4.42
string(21) "0.29931300 1444977585" string(21) "0.29991000 1444977585"
Output for 5.4.41
string(21) "0.63768400 1444977585" string(21) "0.63813500 1444977585"
Output for 5.4.40
string(21) "0.97953800 1444977585" string(21) "0.98017200 1444977585"
Output for 5.4.39
string(21) "0.31693100 1444977586" string(21) "0.31736300 1444977586"
Output for 5.4.38
string(21) "0.74922300 1444977586" string(21) "0.74965700 1444977586"
Output for 5.4.37
string(21) "0.10725900 1444977587" string(21) "0.10771800 1444977587"
Output for 5.4.36
string(21) "0.45679500 1444977587" string(21) "0.45724100 1444977587"
Output for 5.4.35
string(21) "0.79786800 1444977587" string(21) "0.79830200 1444977587"
Output for 5.4.34
string(21) "0.26581200 1444977588" string(21) "0.26624400 1444977588"
Output for 5.4.32
string(21) "0.58520900 1444977588" string(21) "0.58564500 1444977588"
Output for 5.4.31
string(21) "0.89802800 1444977588" string(21) "0.89845000 1444977588"
Output for 5.4.30
string(21) "0.21714600 1444977589" string(21) "0.21764000 1444977589"
Output for 5.4.29
string(21) "0.54591000 1444977589" string(21) "0.54635600 1444977589"
Output for 5.4.28
string(21) "0.86100500 1444977589" string(21) "0.86144100 1444977589"
Output for 5.4.27
string(21) "0.20403700 1444977590" string(21) "0.20445900 1444977590"
Output for 5.4.26
string(21) "0.51966000 1444977590" string(21) "0.52009200 1444977590"
Output for 5.4.25
string(21) "0.84803500 1444977590" string(21) "0.84847800 1444977590"
Output for 5.4.24
string(21) "0.17933400 1444977591" string(21) "0.17975600 1444977591"
Output for 5.4.23
string(21) "0.50028000 1444977591" string(21) "0.50070200 1444977591"
Output for 5.4.22
string(21) "0.84116200 1444977591" string(21) "0.84163500 1444977591"
Output for 5.4.21
string(21) "0.15300900 1444977592" string(21) "0.15343800 1444977592"
Output for 5.4.20
string(21) "0.49485800 1444977592" string(21) "0.49530400 1444977592"
Output for 5.4.19
string(21) "0.82089700 1444977592" string(21) "0.82156400 1444977592"
Output for 5.4.18
string(21) "0.14669500 1444977593" string(21) "0.14716500 1444977593"
Output for 5.4.17
string(21) "0.25016900 1444977593" string(21) "0.25058600 1444977593"
Output for 5.4.16
string(21) "0.37182500 1444977593" string(21) "0.37228600 1444977593"
Output for 5.4.15
string(21) "0.52231400 1444977593" string(21) "0.52293700 1444977593"
Output for 5.4.14
string(21) "0.78854900 1444977593" string(21) "0.78897100 1444977593"
Output for 5.4.13
string(21) "0.10794800 1444977594" string(21) "0.10860200 1444977594"
Output for 5.4.12
string(21) "0.46233900 1444977594" string(21) "0.46280600 1444977594"
Output for 5.4.11
string(21) "0.79538600 1444977594" string(21) "0.79582200 1444977594"
Output for 5.4.10
string(21) "0.16236900 1444977595" string(21) "0.16278900 1444977595"
Output for 5.4.9
string(21) "0.50202900 1444977595" string(21) "0.50245700 1444977595"
Output for 5.4.8
string(21) "0.82679200 1444977595" string(21) "0.82729700 1444977595"
Output for 5.4.7
string(21) "0.17483000 1444977596" string(21) "0.17525000 1444977596"
Output for 5.4.6
string(21) "0.50031900 1444977596" string(21) "0.50074600 1444977596"
Output for 5.4.5
string(21) "0.82170800 1444977596" string(21) "0.82213700 1444977596"
Output for 5.4.4
string(21) "0.17016400 1444977597" string(21) "0.17061000 1444977597"
Output for 5.4.3
string(21) "0.50447600 1444977597" string(21) "0.50491800 1444977597"
Output for 5.4.2
string(21) "0.82411800 1444977597" string(21) "0.82456200 1444977597"
Output for 5.4.1
string(21) "0.15476700 1444977598" string(21) "0.15519400 1444977598"
Output for 5.4.0
string(21) "0.48559700 1444977598" string(21) "0.48603000 1444977598"
Output for 5.3.29
string(21) "0.79203300 1444977598" string(21) "0.79261300 1444977598"
Output for 5.3.28
string(21) "0.23583700 1444977599" string(21) "0.23664500 1444977599"
Output for 5.3.27
string(21) "0.63324000 1444977599" string(21) "0.63382700 1444977599"
Output for 5.3.26
string(21) "0.01301000 1444977600" string(21) "0.01357800 1444977600"
Output for 5.3.25
string(21) "0.40364000 1444977600" string(21) "0.40419700 1444977600"
Output for 5.3.24
string(21) "0.76239400 1444977600" string(21) "0.76298400 1444977600"
Output for 5.3.23
string(21) "0.10044600 1444977601" string(21) "0.10099500 1444977601"
Output for 5.3.22
string(21) "0.44183000 1444977601" string(21) "0.44240100 1444977601"
Output for 5.3.21
string(21) "0.81385300 1444977601" string(21) "0.81441500 1444977601"
Output for 5.3.20
string(21) "0.18014700 1444977602" string(21) "0.18071000 1444977602"
Output for 5.3.19
string(21) "0.75593000 1444977602" string(21) "0.75647800 1444977602"
Output for 5.3.18
string(21) "0.13615500 1444977603" string(21) "0.13671700 1444977603"
Output for 5.3.17
string(21) "0.29305100 1444977603" string(21) "0.29363800 1444977603"
Output for 5.3.16
string(21) "0.43278500 1444977603" string(21) "0.43335800 1444977603"
Output for 5.3.15
string(21) "0.54684700 1444977603" string(21) "0.54742600 1444977603"
Output for 5.3.14
string(21) "0.84730100 1444977603" string(21) "0.84792300 1444977603"
Output for 5.3.13
string(21) "0.10766900 1444977604" string(21) "0.10823200 1444977604"
Output for 5.3.12
string(21) "0.21909600 1444977604" string(21) "0.21966500 1444977604"
Output for 5.3.11
string(21) "0.34225300 1444977604" string(21) "0.34299400 1444977604"
Output for 5.3.10
string(21) "0.57574400 1444977604" string(21) "0.57633800 1444977604"
Output for 5.3.9
string(21) "0.88802300 1444977604" string(21) "0.88858600 1444977604"
Output for 5.3.8
string(21) "0.19940700 1444977605" string(21) "0.20001400 1444977605"
Output for 5.3.7
string(21) "0.48569000 1444977605" string(21) "0.48628200 1444977605"
Output for 5.3.6
string(21) "0.84350700 1444977605" string(21) "0.84427000 1444977605"
Output for 5.3.5
string(21) "0.16501700 1444977606" string(21) "0.16557900 1444977606"
Output for 5.3.4
string(21) "0.48666800 1444977606" string(21) "0.48724100 1444977606"
Output for 5.3.3
string(21) "0.88043400 1444977606" string(21) "0.88099400 1444977606"
Output for 5.3.2
string(21) "0.09476300 1444977607" string(21) "0.09533100 1444977607"
Output for 5.3.1
string(21) "0.20867900 1444977607" string(21) "0.20923500 1444977607"
Output for 5.3.0
string(21) "0.32912300 1444977607" string(21) "0.32993700 1444977607"
Output for 5.2.17
string(21) "0.57763400 1444977607" string(21) "0.57832700 1444977607"
Output for 5.2.16
string(21) "0.84079400 1444977607" string(21) "0.84148900 1444977607"
Output for 5.2.15
string(21) "0.07504100 1444977608" string(21) "0.07580100 1444977608"
Output for 5.2.14
string(21) "0.33580400 1444977608" string(21) "0.33681300 1444977608"
Output for 5.2.13
string(21) "0.60649400 1444977608" string(21) "0.60718100 1444977608"
Output for 5.2.12
string(21) "0.93911000 1444977608" string(21) "0.93997100 1444977608"
Output for 5.2.11
string(21) "0.19718000 1444977609" string(21) "0.19804400 1444977609"
Output for 5.2.10
string(21) "0.46787400 1444977609" string(21) "0.46856400 1444977609"
Output for 5.2.9
string(21) "0.74339600 1444977609" string(21) "0.74412200 1444977609"
Output for 5.2.8
string(21) "0.03360100 1444977610" string(21) "0.03428600 1444977610"
Output for 5.2.7
string(21) "0.34068800 1444977610" string(21) "0.34138500 1444977610"
Output for 5.2.6
string(21) "0.63271800 1444977610" string(21) "0.63347200 1444977610"
Output for 5.2.5
string(21) "0.91891300 1444977610" string(21) "0.91962000 1444977610"
Output for 5.2.4
string(21) "0.25505600 1444977611" string(21) "0.25585600 1444977611"
Output for 5.2.3
string(21) "0.51554900 1444977611" string(21) "0.51629100 1444977611"
Output for 5.2.2
string(21) "0.76995500 1444977611" string(21) "0.77134300 1444977611"
Output for 5.2.1
string(21) "0.03446200 1444977612" string(21) "0.03519200 1444977612"
Output for 5.2.0
string(21) "0.30537700 1444977612" string(21) "0.30611400 1444977612"
Output for 5.1.6
string(21) "0.54986300 1444977612" string(21) "0.55057500 1444977612"
Output for 5.1.5
string(21) "0.89879300 1444977612" string(21) "0.89951700 1444977612"
Output for 5.1.4
string(21) "0.10662300 1444977613" string(21) "0.10740500 1444977613"
Output for 5.1.3
string(21) "0.23147400 1444977613" string(21) "0.23265100 1444977613"
Output for 5.1.2
string(21) "0.32661200 1444977613" string(21) "0.32751700 1444977613"
Output for 5.1.1
string(21) "0.42861700 1444977613" string(21) "0.42956100 1444977613"
Output for 5.1.0
string(21) "0.59867300 1444977613" string(21) "0.59974700 1444977613"
Output for 5.0.5
string(21) "0.76891500 1444977613" string(21) "0.77052200 1444977613"
Output for 5.0.4
string(21) "0.96621600 1444977613" string(21) "0.96832300 1444977613"
Output for 5.0.3
string(21) "0.15260700 1444977614" string(21) "0.15417000 1444977614"
Output for 5.0.2
string(21) "0.32043200 1444977614" string(21) "0.32186100 1444977614"
Output for 5.0.1
string(21) "0.50731500 1444977614" string(21) "0.50975200 1444977614"
Output for 5.0.0
string(21) "0.71171400 1444977614" string(21) "0.71339200 1444977614"
Output for 4.4.9
string(21) "0.90089600 1444977614" string(21) "0.90272800 1444977614"
Output for 4.4.8
string(21) "0.08539800 1444977615" string(21) "0.08715900 1444977615"
Output for 4.4.7
string(21) "0.24823500 1444977615" string(21) "0.24964200 1444977615"
Output for 4.4.6
string(21) "0.42673500 1444977615" string(21) "0.42861200 1444977615"
Output for 4.4.5
string(21) "0.57752200 1444977615" string(21) "0.57904700 1444977615"
Output for 4.4.4
string(21) "0.76451400 1444977615" string(21) "0.76610400 1444977615"
Output for 4.4.3
string(21) "0.94310100 1444977615" string(21) "0.94520800 1444977615"
Output for 4.4.2
string(21) "0.12503300 1444977616" string(21) "0.12692900 1444977616"
Output for 4.4.1
string(21) "0.33223100 1444977616" string(21) "0.33396300 1444977616"
Output for 4.4.0
string(21) "0.56374900 1444977616" string(21) "0.56514500 1444977616"
Output for 4.3.11
string(21) "0.75535000 1444977616" string(21) "0.75713700 1444977616"
Output for 4.3.10
string(21) "0.94092200 1444977616" string(21) "0.94271000 1444977616"
Output for 4.3.9
string(21) "0.09771100 1444977617" string(21) "0.09917600 1444977617"
Output for 4.3.8
string(21) "0.28867800 1444977617" string(21) "0.29049500 1444977617"
Output for 4.3.7
string(21) "0.40174600 1444977617" string(21) "0.40313700 1444977617"
Output for 4.3.6
string(21) "0.55343900 1444977617" string(21) "0.55484300 1444977617"
Output for 4.3.5
string(21) "0.77732100 1444977617" string(21) "0.78050500 1444977617"
Output for 4.3.4
string(21) "0.97162200 1444977617" string(21) "0.97300000 1444977617"
Output for 4.3.3
string(21) "0.11680200 1444977618" string(21) "0.11866000 1444977618"
Output for 4.3.2
string(21) "0.24530000 1444977618" string(21) "0.24674800 1444977618"
Output for 4.3.1
string(21) "0.37680400 1444977618" string(21) "0.37845600 1444977618"
Output for 4.3.0
string(21) "0.51505400 1444977618" string(21) "0.51730700 1444977618"