How do I get the PHP example to work?

How do I get the PHP example to work?

Trying to get this example to work:  https://www.zoho.com/crm/help/api/examples.html#2._Fetch_Records_from_the

Followed these steps:
1. Added a lead
2. Generated a token from this page:  https://crm.zoho.com/crm/ShowSetup.do?tab=developerSpace&subTab=api
3. Changed the following line to use the token:
$token="AUTHTOKEN";

All I get is a blank XML document, what am I doing wrong?