3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input=10; $number = array('10','0','1','2','3','4','5','6','7','8','9'); $text = array('k','a','b','c','d','e','f','g','h','i','j'); $print = str_replace($number, $text, $input); echo $print;
based on TZXVC
Output for 4.3.0 - 7.2.0
k