what would this JS string look like in php?

y += String.fromCharCode(z.charCodeAt(i)-1);

    Using [man]chr[/man] and [man]ord[/man]?

      I believe it would be:

      $y .= chr(ord($z[$i]) - 1);
      

      Where $y and $z are strings and $i is an integer

        Write a Reply...