echo '<pre>';
print_r($array);
echo '</pre>';
But did you know that in Zend Framework there’s a built in Zend_Debug?
Zend_Debug::dump($array);
Zend_Debug::dump($array);
// new HTTP request to some HTTP address $httpClient = new Zend_Http_Client('http://www.example.com/'); // GET the response $response = $httpClient->request(Zend_Http_Client::GET);
// new HTTP request to some HTTP address $client = new Zend_Http_Client('http://www.example.com/'); // set some parameters $client->setParameterPost('name', 'value'); // POST request $response = $client->request(Zend_Http_Client::POST);
// new HTTP request to some HTTP address $client = new Zend_Http_Client('http://www.example.com/'); // set some parameters $client->setParameterPost('name', 'value'); // POST request $response = $client->request(Zend_Http_Client::POST); //echo $response->location;
ecgo $response->getBody();
$client->setAuth('test_usernaem', 'test_password', Zend_Http_Client::AUTH_BASIC);