3v4l.org

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