mixed parse(
SimpleXML
$respObj, [String
$format = 'array'], [boolean
$debug = false])
|
|
Parse the response into an array or object.
It will look like the following, the object response follows the same pattern (and an example is therefor omitted):
- $response['suspicious'] -> Is the host/ip suspicious?
- $response['harvester'] -> Is the host/ip a known harvester?
- $response['comment_spammer'] -> Is this a known comment spammer?
- $response['search_engine'] -> Is this a search engine?
- $response['debug'] -> The entire response for debugging purposes.
- $response['last_activity'] -> The last known recorded activity.
- $response['score'] -> A score allocated by ProjectHoneyPot.
- $response['type'] -> The type (from ProjectHoneyPot) of host.
- $response['type_hr'] -> Human-readable equivalent of 'type'.
Parameters: