3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_startup_errors',1); ini_set('display_errors',1); error_reporting(-1); echo "wer"; $stralice = 'ZfAVIP1ZBet7Vv0VNrgQDaJhWf1HLfcXBvt2XvUF'; $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_'); foreach ($xors as $tabi) { printf(xor_this($str,$tabi)); echo "\n\n\n---------------------------------------\n\n\n"; } printf(xor_this($str,"kotek")); 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." "; } ?>
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/k837Z on line 26
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Deprecated: Array and string offset access syntax with curly braces is deprecated in /in/k837Z on line 26 Deprecated: Array and string offset access syntax with curly braces is deprecated in /in/k837Z on line 26 wer7�Ow�Z�)�Bw�Ov�.�a�lT�, �I --------------------------------------- *�Ba�~�4 �Tz�k_�;� r�EI�!�Z --------------------------------------- ?�Tl�"W�!�Yi�BB�6�V�X\�7�~ --------------------------------------- 2�Y� J�,�JM�_W� �<�MQ�:�W --------------------------------------- Warning: printf(): Too few arguments in /in/k837Z on line 13 --------------------------------------- )�nr�R�7 �Gy�GL�>"�w�VJ� �_ --------------------------------------- :�Go�D�$-�Zl�QA� �z�[Y�$�R --------------------------------------- �Zz�I��Oa�\R�3�l�H}�9�D --------------------------------------- �aE�2j�=�zB�{f�<�,B�rm�*�n
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 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
wer7�Ow�Z�)�Bw�Ov�.�a�lT�, �I --------------------------------------- *�Ba�~�4 �Tz�k_�;� r�EI�!�Z --------------------------------------- ?�Tl�"W�!�Yi�BB�6�V�X\�7�~ --------------------------------------- 2�Y� J�,�JM�_W� �<�MQ�:�W --------------------------------------- Warning: printf(): Too few arguments in /in/k837Z on line 13 --------------------------------------- )�nr�R�7 �Gy�GL�>"�w�VJ� �_ --------------------------------------- :�Go�D�$-�Zl�QA� �z�[Y�$�R --------------------------------------- �Zz�I��Oa�\R�3�l�H}�9�D --------------------------------------- �aE�2j�=�zB�{f�<�,B�rm�*�n

preferences:
227.69 ms | 404 KiB | 243 Q