Update the PHP sample code