PHP AtD class.