<?php
$arrFrom = array("1","2","3","B"); $arrTo = array("A","B","C","D"); $word = "ZBB2";
$arr = array("1" => "A","2" => "B","3" => "C","B" => "D"); $word = "ZBB2";
?>
PD9waHAgCiRhcnJGcm9tID0gYXJyYXkoIjEiLCIyIiwiMyIsIkIiKTsgCiRhcnJUbyA9IGFycmF5KCJBIiwiQiIsIkMiLCJEIik7IAokd29yZCA9ICJaQkIyIjsgCmVjaG8gc3RyX3JlcGxhY2UoJGFyckZyb20sICRhcnJUbywgJHdvcmQpIC4gIlxuIjsgCgokYXJyID0gYXJyYXkoIjEiID0+ICJBIiwiMiIgPT4gIkIiLCIzIiA9PiAiQyIsIkIiID0+ICJEIik7IAokd29yZCA9ICJaQkIyIjsgCmVjaG8gc3RydHIoJHdvcmQsJGFycik7IAo/PiA=