3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = hash('sha256', 'hello'); $mutated = mutate($result); $unmutated = unmutate($mutated); echo "hello in sha256 is $result. Mutated it becomes $mutated, and when unmutated it is returned to $unmutated"; function mutate($hash) { return str_replace(['a', 'b', 'c', 'd', 'e', 'f'], ['f', 'e', 'd', 'c', 'b', 'a'], $hash); } function unmutate($hash) { return str_replace(['f', 'e', 'd', 'c', 'b', 'a'], ['a', 'b', 'c', 'd', 'e', 'f'], $hash); }

preferences:
42.74 ms | 402 KiB | 5 Q