Program For String Functions In Php