Adding the PHP sample code.