Skip to main content
5 of 7
$argn instead of stdin, 1 more byte golfed
Titus
  • 14.9k
  • 1
  • 25
  • 41

[PHP], 84 79 70 63+1 bytes

for(;$c=$argn[$i++];$a+=$c==";")$c^A^R||$a=~-print chr($a%127); 

Run as pipe with -nR

Try it online!

noahnu
  • 111
  • 3