3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('display_startup_errors',1); ini_set('display_errors',1); error_reporting(-1); echo "wer"; $stralice = 'cOoTZfcfQ+dtQfQILOwYF+t6Xw=='; $strbob = 'GCg7Ozs7Oy01e3oNMz4gP3ogP3ovPjs2NXoZM3opMz96KDUgKSAjPCg1LTs5ei4/MSkueiA7KSAjPCg1LTs0I3oqNTA/PiM0OSAjN3o4OzAuPzd0ehQ1ej41OCg7dno8Njs9O3ouNWB6CBUADRsWBSEJMzQ9Nj8CNSgYIy4/GTMqMj8oJw=='; $str=$stralice; $str = base64_decode($str); $xors=array('ROZWAL_{','OZWAL_{R','ZWAL_{RO','WAL_{ROZ','AL_{ROZW','L_{ROZWA','_{ROZWAL','{ROZWAL_','rozwal'); foreach ($xors as $tabi) { printf(xor_this($str,$tabi)); echo "\n\n---------------------------------------\n\n"; } for ($ii=ord(" ");$ii<ord("z");$ii++) { printf(xor_this($str,chr($ii))); echo "\n---------------------------------------\n"; } printf(xor_this($str,$str); echo "\n---------------------------------------\n"; function xor_this($string,$key) { $text =$string; $outText = ""; //echo $string; //echo $key; for($i=0;$i<strlen($text);) { for($j=0;($j<strlen($key) && $i<strlen($text));$j++,$i++) { $outText .= $text{$i} ^ $key{$j}; // echo 'i='.$i.', '.'j='.$j.', '.$outText{$i}.'<br />'; //for debugging } } return $outText." "; } ?>
based on V74gq
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/1JbGh on line 21
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/1JbGh on line 21
Process exited with code 255.