3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '4111111111111111'; //$str = '4556494730120644'; $str = 'xxxxxxxxxxxx1111'; $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 utf8_decode($s); echo "\n"; echo utf8_encode($s);
based on WPZrc
Output for 5.2.15 - 5.2.17, 5.3.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
????????????jbjc °­©±ª±«©±«±©jbjc
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.2.14, 5.3.0 - 5.3.3
������������jbjc °­©±ª±«©±«±©jbjc