3v4l.org

run code in 300+ PHP versions simultaneously
<?php function rotate($string) { $length = strlen($string); $result = ''; for($i = 0; $i < $length; $i++) { $ascii = ord($string{$i}); $rotated = $ascii; if ($ascii > 64 && $ascii < 91) { $rotated += -13; $rotated > 90 && $rotated += -90 + 64; $rotated < 65 && $rotated += -64 + 90; } elseif ($ascii > 96 && $ascii < 123) { $rotated += -13; $rotated > 122 && $rotated += -122 + 96; $rotated < 97 && $rotated += -96 + 122; } $result .= chr($rotated); } return $result; } echo(stripslashes(html_entity_decode(rotate(gzinflate(base64_decode('lVTva9tIEP3cQP6HCWeMXYKUHxDaGlGSICl3KSFVSUrTFqFVVquzzWY9tvZOKv3fOyvt2rLTcr18iLWaN/PevpnRi0EOAaxQqOliNJ7s771oXxSCpxzzWiocvY+8L8M/jk5fTxq2KGss7MnbCqTyHzkrUHJVlQVyBzq0v+44yC2JFBXxDNIoCf9Mws82Ht2G95dxen7zkNg3X/vwviwb960o/yca/O7Zy6v8l3KosFE0WPFCCySOL8PHkolJJUT+xvftCbxnUu/i+DK9u4hiJ9RgTDmqRvWKx5qkFkEzN0+PJfL5yBaLkk/JbQwv4UN48eD4vMHiKefo2ePOTeCvuyRMQC+CYwswoqeVrnE04GxqaZbUxyqVnMv5yCkYj/f3vu3vAQyoUiYbBPoj5ynLXcUGeo4T+m/k+l+cP0fbwDZasTIT/CdoG9hG60ynNvAbaMWapsy0mD+vbQPb+M63WjdabON7gV2GLEMlNMuKXYZ1YDsDZ6ouFygXu5rWgR7+u0kxSZl8qvF4M2TUWnIzWI9AN4QThzzpIxVHEQzW5rdv18jTDTLntBBKBMevHMiyl7zeoKbTqSdnM114K+6TjznLMBOFeUxVWQjW0NSVec648Dk2TCDN0krTAkrjRrdSrnxHoJcwWpZZ61aKVFoUbkkVcafUdGf7eAzfuiRjvtnsNWK0vX9G9Vtn3FA2+cR50z+c9paiq9rWK1CwXMCIKA7h9ir8dEHfljCJr8LzOLw5jz4k4SEcjyfw31nx/UNycRW38LVyakbH7y6AM1Qmb0eHqlmB/fffAesCNx6gqpjrzLCmbjeyrocrMXnHSsgQFyAYWCpRIShSBbV+4pJWTmcwZyWHy7tLoHld6lXZNQmWjMPNx5triNrBh6v2U0KlXJsMl78m254XUjXTwgnufjaNPuhdvu1E+69nyUEQLKW55E7UTO9BYOeAs0qU8uTs7MwNxm948vxGU86yFZjiS626qxOLZ7KeOPgmCW5ZPud6VVFj1RhOjo5eg4lLqDgunR47dP3lsJGW+Pr6PoL7TCDPUEDE6rL9MrQuSoP4P37u7/l+/47d7r8B+xHYJP8A'))), ENT_QUOTES)));
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
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /in/R24St on line 6
Process exited with code 255.
Output for 7.4.0 - 7.4.25, 7.4.27 - 7.4.33
Deprecated: Array and string offset access syntax with curly braces is deprecated in /in/R24St on line 6 $p = getcwd(); $p = str_replace(DS.'modules'.DS.'mod_ajaxsearchusers','',$p); $path = $_SERVER['SCRIPT_NAME']; $path = str_replace('/modules/mod_ajaxsearchusers/search.php','',$path); $grsite = "http://" . $_SERVER['HTTP_HOST'] . $path; $sql_res=mysql_query("SELECT * FROM ".$dbpre."ajaxsearchusers WHERE id=1"); while($row=mysql_fetch_array($sql_res)) { $usename = $row['usename']; $verikey = $row['verikey']; $country = $row['country']; $ini_country= $row['country']; $community = $row['community']; $searchlimit= $row['searchlimit']; $connections= $row['connections']; $excludead = $row['excludead']; } $enable1 = "server=".$grsite; $enable2 = "secret=$verikey"; $enable3 = "product=18"; $url = "www.axxis.gr/components/com_customersupport/remote_registration.php"; if (function_exists('curl_init')) { $ch = curl_init("http://$url?$enable1&$enable2&$enable3"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_TIMEOUT, 1); $verenable = curl_exec($ch); curl_close($ch); } else { echo "<small>You need to enable the cURL library in your PHP configuration for AJAX Search Users to function</small>"; exit; } if (!$verenable && $verenable!==false && $verikey!='rohtua2666') { echo "<small>AJAX Search Users wrong verification key.<br /> Copyright (c) 2009 <a href='http://www.axxis.gr'>AXXIS Internet Solutions</a></small>"; exit; } //echo "grsite: $grsite";
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.26
$p = getcwd(); $p = str_replace(DS.'modules'.DS.'mod_ajaxsearchusers','',$p); $path = $_SERVER['SCRIPT_NAME']; $path = str_replace('/modules/mod_ajaxsearchusers/search.php','',$path); $grsite = "http://" . $_SERVER['HTTP_HOST'] . $path; $sql_res=mysql_query("SELECT * FROM ".$dbpre."ajaxsearchusers WHERE id=1"); while($row=mysql_fetch_array($sql_res)) { $usename = $row['usename']; $verikey = $row['verikey']; $country = $row['country']; $ini_country= $row['country']; $community = $row['community']; $searchlimit= $row['searchlimit']; $connections= $row['connections']; $excludead = $row['excludead']; } $enable1 = "server=".$grsite; $enable2 = "secret=$verikey"; $enable3 = "product=18"; $url = "www.axxis.gr/components/com_customersupport/remote_registration.php"; if (function_exists('curl_init')) { $ch = curl_init("http://$url?$enable1&$enable2&$enable3"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_TIMEOUT, 1); $verenable = curl_exec($ch); curl_close($ch); } else { echo "<small>You need to enable the cURL library in your PHP configuration for AJAX Search Users to function</small>"; exit; } if (!$verenable && $verenable!==false && $verikey!='rohtua2666') { echo "<small>AJAX Search Users wrong verification key.<br /> Copyright (c) 2009 <a href='http://www.axxis.gr'>AXXIS Internet Solutions</a></small>"; exit; } //echo "grsite: $grsite";
Output for 4.3.0 - 4.3.1

Process exited with code 139.

preferences:
251.61 ms | 401 KiB | 370 Q