Php Program For String Functions In Javascript Interview