3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time=microtime(1); for ($i=0;$i<100000;$i++) hash('adler32', 'string'); echo microtime(1)-$time,': hash/adler32'."\n"; $time=microtime(1); for ($i=0;$i<100000;$i++) hash('md5', 'string'); echo microtime(1)-$time,': hash/md5'."\n";
Output for 7.1.0
0.010740995407104: hash/adler32 0.02239990234375: hash/md5
Output for 7.0.14
0.018882989883423: hash/adler32 0.035058975219727: hash/md5
Output for 7.0.12
0.018460035324097: hash/adler32 0.033563852310181: hash/md5
Output for 7.0.6
0.0103440284729: hash/adler32 0.021907091140747: hash/md5
Output for 7.0.5
0.027055025100708: hash/adler32 0.048635959625244: hash/md5
Output for 7.0.4
0.01219916343689: hash/adler32 0.025458097457886: hash/md5
Output for 7.0.3
0.017372131347656: hash/adler32 0.033550977706909: hash/md5
Output for 7.0.2
0.012425184249878: hash/adler32 0.025780916213989: hash/md5
Output for 7.0.1
0.011251211166382: hash/adler32 0.024631977081299: hash/md5
Output for 7.0.0
0.014760971069336: hash/adler32 0.030340909957886: hash/md5
Output for hhvm-3.12.0
0.028509140014648: hash/adler32 0.044096231460571: hash/md5
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
0.059406042098999: hash/adler32 0.06647515296936: hash/md5
Output for 5.6.21
0.028271913528442: hash/adler32 0.033421993255615: hash/md5
Output for 5.6.20
0.030255079269409: hash/adler32 0.043628931045532: hash/md5
Output for 5.6.19
0.032717943191528: hash/adler32 0.045568943023682: hash/md5
Output for 5.6.18
0.023230075836182: hash/adler32 0.0345139503479: hash/md5
Output for 5.6.17
0.022258043289185: hash/adler32 0.034420013427734: hash/md5
Output for 5.6.16
0.021254062652588: hash/adler32 0.034359931945801: hash/md5
Output for 5.6.15
0.035062074661255: hash/adler32 0.040554046630859: hash/md5
Output for 5.6.14
0.028755903244019: hash/adler32 0.041966915130615: hash/md5
Output for 5.6.13
0.029741048812866: hash/adler32 0.036335945129395: hash/md5
Output for 5.6.12
0.020977973937988: hash/adler32 0.033882856369019: hash/md5
Output for 5.6.11
0.028389930725098: hash/adler32 0.041839122772217: hash/md5
Output for 5.6.10
0.020323991775513: hash/adler32 0.033973932266235: hash/md5
Output for 5.6.9
0.029744863510132: hash/adler32 0.04326605796814: hash/md5
Output for 5.6.8
0.020741939544678: hash/adler32 0.033943891525269: hash/md5
Output for 5.5.35
0.020259857177734: hash/adler32 0.033827066421509: hash/md5
Output for 5.5.34
0.029725074768066: hash/adler32 0.04246997833252: hash/md5
Output for 5.5.33
0.028943061828613: hash/adler32 0.041830062866211: hash/md5
Output for 5.5.32
0.028397798538208: hash/adler32 0.041013956069946: hash/md5
Output for 5.5.31
0.026065111160278: hash/adler32 0.036591053009033: hash/md5
Output for 5.5.30
0.020468950271606: hash/adler32 0.034045934677124: hash/md5
Output for 5.5.29
0.026374816894531: hash/adler32 0.038920879364014: hash/md5
Output for 5.5.28
0.020217180252075: hash/adler32 0.03314995765686: hash/md5
Output for 5.5.27
0.029284954071045: hash/adler32 0.04180908203125: hash/md5
Output for 5.5.26
0.029775142669678: hash/adler32 0.04206395149231: hash/md5
Output for 5.5.25
0.01973295211792: hash/adler32 0.033121109008789: hash/md5
Output for 5.5.24
0.026648044586182: hash/adler32 0.038846969604492: hash/md5
Output for 5.4.45
0.019649028778076: hash/adler32 0.032906055450439: hash/md5
Output for 5.4.44
0.030785083770752: hash/adler32 0.045952081680298: hash/md5
Output for 5.4.43
0.028753995895386: hash/adler32 0.041615009307861: hash/md5
Output for 5.4.42
0.029733896255493: hash/adler32 0.043489217758179: hash/md5
Output for 5.4.41
0.023365020751953: hash/adler32 0.036747932434082: hash/md5
Output for 5.4.40
0.024445772171021: hash/adler32 0.036602973937988: hash/md5
Output for 5.4.39
0.020305871963501: hash/adler32 0.033390045166016: hash/md5
Output for 5.4.38
0.028865098953247: hash/adler32 0.041699171066284: hash/md5
Output for 5.4.37
0.030962944030762: hash/adler32 0.04400110244751: hash/md5
Output for 5.4.36
0.029535055160522: hash/adler32 0.046051979064941: hash/md5
Output for 5.4.35
0.022006034851074: hash/adler32 0.034427165985107: hash/md5
Output for 5.4.34
0.031266927719116: hash/adler32 0.044909954071045: hash/md5
Output for 5.4.32
0.025544166564941: hash/adler32 0.038063049316406: hash/md5
Output for 5.4.31
0.031101942062378: hash/adler32 0.044046878814697: hash/md5
Output for 5.4.30
0.029415130615234: hash/adler32 0.043120145797729: hash/md5
Output for 5.4.29
0.030771970748901: hash/adler32 0.042877912521362: hash/md5
Output for 5.4.28
0.031075000762939: hash/adler32 0.044678211212158: hash/md5
Output for 5.4.27
0.030643939971924: hash/adler32 0.042720079421997: hash/md5
Output for 5.4.26
0.030416965484619: hash/adler32 0.042834997177124: hash/md5
Output for 5.4.25
0.031245946884155: hash/adler32 0.043795108795166: hash/md5
Output for 5.4.24
0.023536920547485: hash/adler32 0.036891937255859: hash/md5
Output for 5.4.23
0.02873706817627: hash/adler32 0.04262900352478: hash/md5
Output for 5.4.22
0.028448104858398: hash/adler32 0.034528017044067: hash/md5
Output for 5.4.21
0.031799077987671: hash/adler32 0.045226097106934: hash/md5
Output for 5.4.20
0.030462980270386: hash/adler32 0.043112993240356: hash/md5
Output for 5.4.19
0.032374858856201: hash/adler32 0.04229211807251: hash/md5
Output for 5.4.18
0.026567935943604: hash/adler32 0.039561033248901: hash/md5
Output for 5.4.17
0.021577119827271: hash/adler32 0.033653974533081: hash/md5
Output for 5.4.16
0.030981063842773: hash/adler32 0.044482946395874: hash/md5
Output for 5.4.15
0.032198905944824: hash/adler32 0.045341968536377: hash/md5
Output for 5.4.14
0.031212091445923: hash/adler32 0.044718027114868: hash/md5
Output for 5.4.13
0.033016920089722: hash/adler32 0.04819393157959: hash/md5
Output for 5.4.12
0.030087947845459: hash/adler32 0.043367862701416: hash/md5
Output for 5.4.11
0.032018184661865: hash/adler32 0.043275117874146: hash/md5
Output for 5.4.10
0.020328998565674: hash/adler32 0.033709049224854: hash/md5
Output for 5.4.9
0.021167039871216: hash/adler32 0.033789157867432: hash/md5
Output for 5.4.8
0.020617008209229: hash/adler32 0.034022092819214: hash/md5
Output for 5.4.7
0.026870965957642: hash/adler32 0.03931999206543: hash/md5
Output for 5.4.6
0.020516872406006: hash/adler32 0.033318042755127: hash/md5
Output for 5.4.5
0.022630929946899: hash/adler32 0.034554958343506: hash/md5
Output for 5.4.4
0.021030187606812: hash/adler32 0.035603046417236: hash/md5
Output for 5.4.3
0.020061016082764: hash/adler32 0.033905982971191: hash/md5
Output for 5.4.2
0.030864000320435: hash/adler32 0.045192956924438: hash/md5
Output for 5.4.1
0.025898933410645: hash/adler32 0.037922143936157: hash/md5
Output for 5.4.0
0.020231962203979: hash/adler32 0.03449821472168: hash/md5
Output for 5.3.29
0.034483909606934: hash/adler32 0.049163103103638: hash/md5
Output for 5.3.28
0.037178993225098: hash/adler32 0.047276973724365: hash/md5
Output for 5.3.27
0.03761887550354: hash/adler32 0.047810077667236: hash/md5
Output for 5.3.26
0.037518978118896: hash/adler32 0.045147895812988: hash/md5
Output for 5.3.25
0.027161121368408: hash/adler32 0.037297010421753: hash/md5
Output for 5.3.24
0.034704923629761: hash/adler32 0.050609827041626: hash/md5
Output for 5.3.23
0.032741069793701: hash/adler32 0.043206930160522: hash/md5
Output for 5.3.22
0.037554979324341: hash/adler32 0.047982931137085: hash/md5
Output for 5.3.21
0.036055088043213: hash/adler32 0.046133041381836: hash/md5
Output for 5.3.20
0.038924932479858: hash/adler32 0.042638063430786: hash/md5
Output for 5.3.19
0.026194095611572: hash/adler32 0.038190126419067: hash/md5
Output for 5.3.18
0.02489709854126: hash/adler32 0.038291931152344: hash/md5
Output for 5.3.17
0.04000997543335: hash/adler32 0.042454957962036: hash/md5
Output for 5.3.16
0.039695024490356: hash/adler32 0.044355154037476: hash/md5
Output for 5.3.15
0.025108098983765: hash/adler32 0.037470817565918: hash/md5
Output for 5.3.14
0.025254011154175: hash/adler32 0.038455963134766: hash/md5
Output for 5.3.13
0.024426937103271: hash/adler32 0.037570953369141: hash/md5
Output for 5.3.12
0.026807069778442: hash/adler32 0.038373947143555: hash/md5
Output for 5.3.11
0.03462815284729: hash/adler32 0.04411792755127: hash/md5
Output for 5.3.10
0.025859832763672: hash/adler32 0.03901195526123: hash/md5
Output for 5.3.9
0.035769939422607: hash/adler32 0.057615041732788: hash/md5
Output for 5.3.8
0.024990081787109: hash/adler32 0.037207126617432: hash/md5
Output for 5.3.7
0.032148122787476: hash/adler32 0.05048394203186: hash/md5
Output for 5.3.6
0.038451194763184: hash/adler32 0.049194097518921: hash/md5
Output for 5.3.5
0.038403987884521: hash/adler32 0.047693014144897: hash/md5
Output for 5.3.4
0.033545970916748: hash/adler32 0.044023990631104: hash/md5
Output for 5.3.3
0.03666615486145: hash/adler32 0.045615911483765: hash/md5
Output for 5.3.2
0.028411865234375: hash/adler32 0.037431001663208: hash/md5
Output for 5.3.1
0.024561166763306: hash/adler32 0.037036180496216: hash/md5
Output for 5.3.0
0.030023813247681: hash/adler32 0.040001153945923: hash/md5
Output for 5.2.17
0.03664493560791: hash/adler32 0.051458120346069: hash/md5
Output for 5.2.16
0.02590012550354: hash/adler32 0.042037010192871: hash/md5
Output for 5.2.15
0.02631688117981: hash/adler32 0.043467998504639: hash/md5
Output for 5.2.14
0.026059150695801: hash/adler32 0.041514873504639: hash/md5
Output for 5.2.13
0.026308059692383: hash/adler32 0.0417799949646: hash/md5
Output for 5.2.12
0.041749954223633: hash/adler32 0.054328203201294: hash/md5
Output for 5.2.11
0.035380125045776: hash/adler32 0.060784101486206: hash/md5
Output for 5.2.10
0.029185056686401: hash/adler32 0.046245098114014: hash/md5
Output for 5.2.9
0.030415058135986: hash/adler32 0.04753303527832: hash/md5
Output for 5.2.8
0.039537906646729: hash/adler32 0.053311109542847: hash/md5
Output for 5.2.7
0.041563034057617: hash/adler32 0.05608606338501: hash/md5
Output for 5.2.6
0.035614967346191: hash/adler32 0.049968957901001: hash/md5
Output for 5.2.5
0.051528930664062: hash/adler32 0.072555065155029: hash/md5
Output for 5.2.4
0.043598175048828: hash/adler32 0.056012868881226: hash/md5
Output for 5.2.3
0.029764175415039: hash/adler32 0.046648025512695: hash/md5
Output for 5.2.2
0.035516977310181: hash/adler32 0.057173013687134: hash/md5
Output for 5.2.1
0.041417837142944: hash/adler32 0.055083990097046: hash/md5
Output for 5.2.0
0.040669918060303: hash/adler32 0.049714088439941: hash/md5
Output for 5.1.6
0.031980037689209: hash/adler32 0.049968957901001: hash/md5
Output for 5.1.5
0.026593923568726: hash/adler32 0.043078899383545: hash/md5
Output for 5.1.4
0.035205841064453: hash/adler32 0.051112174987793: hash/md5
Output for 5.1.3
0.038558006286621: hash/adler32 0.049655914306641: hash/md5
Output for 5.1.2
0.039481163024902: hash/adler32 0.056018114089966: hash/md5
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/97sIe on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/97sIe on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/97sIe on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/97sIe on line 5