<?php $sub="happy"; $ser="a"; $rep="i"; echo str_replace($ser,$rep,$sub);
You have javascript disabled. You will not be able to edit any code.