Remove echo statement from PHP sample