3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '4556494730120644'; $sKey = '8519293193919192153'; $s = ''; $j = 0; for($i=0;$i < strlen($str);$i++) { $s .= chr( ord(substr($str,$i,1)) + ord(substr($sKey,$j++,1))); if($j==strlen($sKey)) $j=0; } ; echo $s; echo "\n"; echo utf8_encode($s);
based on aGspR
Output for 4.3.0 - 7.1.0
ljfofrghlcjcigmf ljfofrghlcjcigmf