I need to do something like this in PHP:
1234 -> 321
1234123412341234 -> 321321321321
Reverse 3 chars then remove 4th one -> repeat until end o