function __toString() { return getStringRepresentation(get_object_vars($this), get_class($this)); }
function compareFunctions($arg1, $arg2) { return strcmp(getStringRepresentation($arg1), getStringRepresentation($arg2)); }