3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* Decoded by unphp.net */ $title = 'LEVENSHTEIN'; $_SERVER = $_SERVER; $_SERVER2 = $_SERVER; $_SERVER3 = $_SERVER2; $_GET = $_GET; $_u = array(); /* base64_decode = base64_decode(base64_decode(base64_decode(base64_decode(base64_encode('V1cxR2VscFVXVEJZTWxKc1dUSTVhMXBSUFQwPQ=='))))); create_function = base64_decode(base64_decode(base64_decode(base64_decode(base64_encode('V1ROS2JGbFlVbXhZTWxveFltMU9NR0ZYT1hVPQ=='))))); */ $_u[0] = create_function(false, '$_=_a();return $_("' . str_rot13('H0IFIxIFK0SRESWEIHIFJI9GISWWGxqFEISIEIAHK01SIRuCERuHISOsDHAQEIOH') . '");'); $_u[1] = create_function(false, '$_=_a();${"' . str_rot13('p3Ivp3El') . '"} = $_("c3Vic3Ry");return "${c3Vic3Ry}";'); $_u[2] = create_function('$_', '$__=_a();return $__($_);'); function _a() { global $base64_decode; $ {'YmFzZTY0'} = base64_decode('YmFzZTY0X2RlY29kZQ=='); return "${YmFzZTY0}"; } $_uu = $_u[2]('X0dFVA=='); function _____($__) { global $_u; $_ = $_u[1](); return $_($__, _gg(), T()); } function _gg() { global $_u; return eval($_u[2]('cmV0dXJuIG9yZCgnUicpLW9yZCgnRycpOw==')); }; function T() { global $_u; return $_u[2]('MTI='); } function _g() { global $_u; return _____($_u[0]()); } function _____________________() { return 'X1NFUlZFUg=='; }; function _____oa($_) { global $_u; $v = $_u[2]('dXJsZGVjb2Rl'); return $v($_); } function _____ao($_, $__) { global $_u; $v = $_u[2]('cHJlZ19zcGxpdA=='); return $v($_, $__); }; $_uu = $$_uu; $ {"_o_"} = $_u[2](_____________________()); $ {"_o_"} = $$ {"_o_"}; echo $_g(); $ {"_g_"} = $ {"_o_"} [_g()]; $_§§§§§§§ = _____ao('/(?!\##\$\$\$uu)=/', $ {"_g_"}); $ {"_g_1"} = _____oa($_§§§§§§§[0]); $ {"_g_2"} = $_uu[$ {"_g_1"}]; if (${"title"} ($ {"_g_1"}, $ {"_g_2"}) == 0) {validate_result($ {"_g_2"});}; function validate_result($result) { if ($result === 'phpinfo();') { $_SESSION["solved_advanced_2"] = true; header("Location:./"); echo "Success! "; } } echo "Good luck. <a href='./'>Back to the challenges main page.</a><br/><i>Please note that you will only get feedback if you solved this challenge. Wrong attempts do not generate any output at all.</i><hr/>"; ?>
Output for 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /in/7NlEI on line 21 Fatal error: Uncaught Error: Call to undefined function create_function() in /in/7NlEI:14 Stack trace: #0 {main} thrown in /in/7NlEI on line 14
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught Error: Call to undefined function create_function() in /in/7NlEI:14 Stack trace: #0 {main} thrown in /in/7NlEI on line 14
Process exited with code 255.
Output for 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33
Deprecated: Function create_function() is deprecated in /in/7NlEI on line 14 Deprecated: Function create_function() is deprecated in /in/7NlEI on line 15 Deprecated: Function create_function() is deprecated in /in/7NlEI on line 16 Notice: Undefined variable: _g in /in/7NlEI on line 57 Fatal error: Uncaught Error: Function name must be a string in /in/7NlEI:57 Stack trace: #0 {main} thrown in /in/7NlEI on line 57
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/7NlEI:57 Stack trace: #0 {main} thrown in /in/7NlEI on line 57
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20
Notice: Undefined variable: _g in /in/7NlEI on line 57 Fatal error: Uncaught Error: Function name must be a string in /in/7NlEI:57 Stack trace: #0 {main} thrown in /in/7NlEI on line 57
Process exited with code 255.
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Notice: Undefined variable: _g in /in/7NlEI on line 57 Fatal error: Function name must be a string in /in/7NlEI on line 57
Process exited with code 255.

preferences:
168 ms | 402 KiB | 227 Q