We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This is an Output Filter for PHP Arrays.
Use it with DonDominioResponse, via the output() method:
DonDominioResponse
output()
$options = array(); $data = $response->output('Array', $options);
The Array Output Filter has no options.
PHP:
$dondominio = new DonDominio(array( 'apiuser' => '00000-XXX', 'apipasswd' => 'XXXXXXXXXXXX' )); $domainCheck = $dondominio->domain_check('example.com'); $array = $domainCheck->output('Array', array('pretty'=>true)); print_r($array);
Output:
Array ( [domains] => Array ( [0] => Array ( [name] => default.com [punycode] => default.com [tld] => com [available] => [premium] => [price] => 9.95 [currency] => EUR ) ) )
See also