validate() validate(mixed $value, array $dtd) : array Validate an element Parameters mixed $value array $dtd Returns array